swagger docs update
All checks were successful
/ Make image (push) Successful in 59s

This commit is contained in:
nquidox 2026-04-01 18:36:03 +03:00
parent cf84b598d0
commit 756d664be7
4 changed files with 81 additions and 56 deletions

View file

@ -1,5 +1,18 @@
basePath: /api/v2
definitions:
common.PersonalDTO:
properties:
email:
type: string
name:
type: string
surname:
type: string
username:
type: string
uuid:
type: string
type: object
merch.DeleteZeroPrices:
properties:
id:
@ -200,8 +213,6 @@ info:
paths:
/merch/{uuid}:
delete:
consumes:
- application/json
description: Marks merch and all its extra data as deleted by uuid.
parameters:
- description: merch uuid
@ -456,18 +467,16 @@ paths:
tags:
- Merch labels
get:
description: Получить метки товара по его uuid
parameters:
- description: label uuid
in: path
name: uuid
required: true
type: string
description: Получить персональные данные. Запрос данных по gRPC у сервиса авторизации.
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/common.PersonalDTO'
"204":
description: No Content
"400":
description: Bad Request
schema:
@ -480,11 +489,9 @@ paths:
description: Internal Server Error
schema:
$ref: '#/definitions/responses.InternalServerError'
security:
- BearerAuth: []
summary: Получить метки товара по его uuid
summary: Получить персональные данные.
tags:
- Merch labels
- User
put:
consumes:
- application/json