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

@ -9,10 +9,10 @@ definitions:
type: object
merch.DeleteZeroPrices:
properties:
merch_uuids:
items:
type: string
type: array
id:
type: integer
merch_uuid:
type: string
type: object
merch.ImageLink:
properties:
@ -126,6 +126,8 @@ definitions:
properties:
created_at:
type: string
id:
type: integer
merch_uuid:
type: string
name:
@ -254,6 +256,8 @@ paths:
tags:
- Merch
put:
consumes:
- application/json
description: Обновить информацию про мерч по его uuid в json-е
parameters:
- description: merch_uuid
@ -453,6 +457,8 @@ paths:
tags:
- Merch labels
post:
consumes:
- application/json
description: Создать новую метку для товара
parameters:
- description: payload
@ -529,6 +535,8 @@ paths:
tags:
- Merch labels
put:
consumes:
- application/json
description: Изменить метку
parameters:
- description: label uuid
@ -560,6 +568,8 @@ paths:
- Merch labels
/merch/labels/attach:
post:
consumes:
- application/json
description: Прикрепить метку к товару
parameters:
- description: payload
@ -586,6 +596,8 @@ paths:
- Merch labels
/merch/labels/detach:
post:
consumes:
- application/json
description: Удалить привязку метки к товару
parameters:
- description: payload
@ -612,6 +624,8 @@ paths:
- Merch labels
/merch/zeroprices:
delete:
consumes:
- application/json
description: Пометить нулевые цены как удаленные
parameters:
- description: payload