fix: now post usertitle dont need title body

This commit is contained in:
Iron_Felix 2025-11-27 03:19:53 +03:00
parent 9139c77c5f
commit 65b76d58c3
4 changed files with 64 additions and 7 deletions

View file

@ -326,7 +326,29 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/UserTitle'
type: object
required:
- user_id
- title_id
- status
properties:
user_id:
type: integer
format: int64
title_id:
type: integer
format: int64
status:
$ref: '#/components/schemas/UserTitleStatus'
rate:
type: integer
format: int32
review_id:
type: integer
format: int64
ctime:
type: string
format: date-time
responses:
'200':
description: Title successfully added to user