fix: oapi shitty generation

This commit is contained in:
nihonium 2025-11-27 06:11:55 +03:00
parent cb9fba6fbc
commit 68294dd13c
Signed by: nihonium
GPG key ID: 0251623741027CFC
16 changed files with 302 additions and 288 deletions

View file

@ -117,11 +117,10 @@ post:
type: integer
format: int64
status:
$ref: ../schemas/enums/UserTitleStatus.yaml
$ref: '../schemas/enums/UserTitleStatus.yaml'
rate:
type: integer
format: int32
responses:
'200':
description: Title successfully added to user
@ -129,7 +128,6 @@ post:
application/json:
schema:
$ref: '../schemas/UserTitleMini.yaml'
'400':
description: Invalid request body (missing fields, invalid types, etc.)
'401':
@ -169,7 +167,7 @@ patch:
type: integer
format: int64
status:
$ref: ../schemas/enums/UserTitleStatus.yaml
$ref: '../schemas/enums/UserTitleStatus.yaml'
rate:
type: integer
format: int32
@ -181,7 +179,6 @@ patch:
application/json:
schema:
$ref: '../schemas/UserTitleMini.yaml'
'400':
description: Invalid request body (missing fields, invalid types, etc.)
'401':