add breadcrumbs

This commit is contained in:
2024-05-18 13:16:57 +07:00
parent 6b3306bb96
commit db4419dc81
9 changed files with 421 additions and 59 deletions
+42
View File
@@ -11,6 +11,37 @@
"application/json"
],
"paths": {
"/breadcrumbs/{id}": {
"get": {
"operationId": "CRM_GetBreadcrumbs",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/crmBreadcrumbsRsp"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/runtimeError"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string",
"format": "int64"
}
],
"tags": [
"CRM"
]
}
},
"/catalog": {
"get": {
"operationId": "CRM_GetCatalog",
@@ -97,6 +128,17 @@
}
},
"definitions": {
"crmBreadcrumbsRsp": {
"type": "object",
"properties": {
"categories": {
"type": "array",
"items": {
"$ref": "#/definitions/crmCategory"
}
}
}
},
"crmCatalogRsp": {
"type": "object",
"properties": {