This commit is contained in:
parent
2728051fde
commit
7fa79d770a
4 changed files with 114 additions and 54 deletions
31
docs/docs.go
31
docs/docs.go
|
|
@ -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"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue