mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-02 11:20:20 +03:00
add some success response codes to openapi-3-1.yaml
updateUser and deleteUser lack successful response descriptions. This PR adds 200 and 204 codes for these operations.
This commit is contained in:
parent
33be51a7a4
commit
802cb033fc
|
@ -805,11 +805,17 @@ paths:
|
|||
parameters:
|
||||
- name: username
|
||||
in: path
|
||||
description: name that need to be deleted
|
||||
description: name that need to be updated
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
description: User is updated successfully
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/User'
|
||||
'400':
|
||||
description: Invalid user supplied
|
||||
'404':
|
||||
|
@ -835,6 +841,8 @@ paths:
|
|||
schema:
|
||||
type: string
|
||||
responses:
|
||||
'204':
|
||||
description: User is deleted
|
||||
'400':
|
||||
description: Invalid username supplied
|
||||
'404':
|
||||
|
|
Loading…
Reference in New Issue
Block a user