swagger docs update
All checks were successful
/ Make image (push) Successful in 1m3s

This commit is contained in:
nquidox 2025-11-02 23:39:25 +03:00
parent 2728051fde
commit 7fa79d770a
4 changed files with 114 additions and 54 deletions

View file

@ -106,6 +106,9 @@ const docTemplate = `{
}
],
"description": "Обновить информацию про мерч по его uuid в json-е",
"consumes": [
"application/json"
],
"tags": [
"Merch"
],
@ -331,6 +334,9 @@ const docTemplate = `{
}
],
"description": "Создать новую метку для товара",
"consumes": [
"application/json"
],
"tags": [
"Merch labels"
],
@ -373,6 +379,9 @@ const docTemplate = `{
}
],
"description": "Прикрепить метку к товару",
"consumes": [
"application/json"
],
"tags": [
"Merch labels"
],
@ -415,6 +424,9 @@ const docTemplate = `{
}
],
"description": "Удалить привязку метки к товару",
"consumes": [
"application/json"
],
"tags": [
"Merch labels"
],
@ -498,6 +510,9 @@ const docTemplate = `{
}
],
"description": "Изменить метку",
"consumes": [
"application/json"
],
"tags": [
"Merch labels"
],
@ -623,6 +638,9 @@ const docTemplate = `{
}
],
"description": "Пометить нулевые цены как удаленные",
"consumes": [
"application/json"
],
"tags": [
"Merch zero prices"
],
@ -1160,11 +1178,11 @@ const docTemplate = `{
"merch.DeleteZeroPrices": {
"type": "object",
"properties": {
"merch_uuids": {
"type": "array",
"items": {
"type": "string"
}
"id": {
"type": "integer"
},
"merch_uuid": {
"type": "string"
}
}
},
@ -1342,6 +1360,9 @@ const docTemplate = `{
"created_at": {
"type": "string"
},
"id": {
"type": "integer"
},
"merch_uuid": {
"type": "string"
},