fix: oapi shitty generation
This commit is contained in:
parent
cb9fba6fbc
commit
68294dd13c
16 changed files with 302 additions and 288 deletions
|
|
@ -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':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue