Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 25 additions & 3 deletions src/main/resources/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,15 @@ paths:
schema:
type: string
responses:
'200':
description: successful operation
content:
application/xml:
schema:
$ref: '#/components/schemas/Pet'
application/json:
schema:
$ref: '#/components/schemas/Pet'
'405':
description: Invalid input
security:
Expand Down Expand Up @@ -273,6 +282,8 @@ paths:
type: integer
format: int64
responses:
'200':
description: successful operation
'400':
description: Invalid pet value
security:
Expand Down Expand Up @@ -415,6 +426,8 @@ paths:
type: integer
format: int64
responses:
'200':
description: successful operation
'400':
description: Invalid ID supplied
'404':
Expand All @@ -427,7 +440,7 @@ paths:
description: This can only be done by the logged in user.
operationId: createUser
responses:
default:
'200':
description: successful operation
content:
application/json:
Expand Down Expand Up @@ -527,7 +540,7 @@ paths:
operationId: logoutUser
parameters: []
responses:
default:
'200':
description: successful operation
'/user/{username}':
get:
Expand Down Expand Up @@ -572,8 +585,15 @@ paths:
schema:
type: string
responses:
default:
'200':
description: successful operation
content:
application/xml:
schema:
$ref: '#/components/schemas/User'
application/json:
schema:
$ref: '#/components/schemas/User'
requestBody:
description: Update an existent user in the store
content:
Expand All @@ -600,6 +620,8 @@ paths:
schema:
type: string
responses:
'200':
description: successful operation
'400':
description: Invalid username supplied
'404':
Expand Down