add labels
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-05-30 03:03:39 +07:00
parent 59e60c4be1
commit 4335d14090
5 changed files with 304 additions and 201 deletions
+5 -5
View File
@@ -2,30 +2,30 @@
{
"id": 0,
"name": "Главная",
"uri": "/categories/0",
"uri": "/positions/0",
"children": [
{
"id": 1,
"name": "Пряники",
"uri": "/categories/1",
"uri": "/positions/1",
"children": []
},
{
"id": 2,
"name": "Печенье бисквитное",
"uri": "/categories/2",
"uri": "/positions/2",
"children": []
},
{
"id": 3,
"name": "Печенье песочное",
"uri": "/categories/3",
"uri": "/positions/3",
"children": []
},
{
"id": 4,
"name": "Восточные сладости",
"uri": "/categories/4",
"uri": "/positions/4",
"children": []
}
]
+15
View File
@@ -254,6 +254,14 @@
},
"description": "Message that represents an arbitrary HTTP body. It should only be used for\npayload formats that can't be represented as JSON, such as raw binary or\nan HTML page.\n\n\nThis message can be used both in streaming and non-streaming API methods in\nthe request as well as the response.\n\nIt can be used as a top-level request field, which is convenient if one\nwants to extract parameters from either the URL or HTTP template into the\nrequest fields and also want access to the raw HTTP body.\n\nExample:\n\n message GetResourceRequest {\n // A unique request id.\n string request_id = 1;\n\n // The raw HTTP body is bound to this field.\n google.api.HttpBody http_body = 2;\n\n }\n\n service ResourceService {\n rpc GetResource(GetResourceRequest)\n returns (google.api.HttpBody);\n rpc UpdateResource(google.api.HttpBody)\n returns (google.protobuf.Empty);\n\n }\n\nExample with streaming methods:\n\n service CaldavService {\n rpc GetCalendar(stream google.api.HttpBody)\n returns (stream google.api.HttpBody);\n rpc UpdateCalendar(stream google.api.HttpBody)\n returns (stream google.api.HttpBody);\n\n }\n\nUse of this type only changes how the request and response bodies are\nhandled, all other features will continue to work unchanged."
},
"crabscrmLabel": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
},
"crabscrmOrder": {
"type": "object",
"properties": {
@@ -478,6 +486,13 @@
"category": {
"type": "string",
"format": "int64"
},
"labels": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/definitions/crabscrmLabel"
}
}
}
},