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
33 changes: 33 additions & 0 deletions petstore-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,39 @@ paths:
- petstore_auth:
- 'write:pets'
- 'read:pets'
'/pet/{petId}/status':
parameters:
- schema:
type: integer
name: petId
in: path
required: true
get:
summary: Your GET endpoint
tags: []
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
example: sleeping
properties:
status:
type: string
x-stoplight:
id: yic9zn6ngfxpu
required:
- status
'404':
description: Not Found
operationId: getPetStatusById
description: Returns the status of a single pet
security:
- api_key: []
- petstore_auth:
- 'read:pets'
'/pet/{petId}/uploadImage':
post:
tags:
Expand Down