Swagger Petstore - OpenAPI 3.0
S
Swagger Petstore - OpenAPI 3.0
API Reference
SDKs
Swagger Petstore - OpenAPI 3.0
01
Pet
8 endpoints
GET
/pet/{petId}
Get a pet by ID
GET
/pet/findByStatus
Finds Pets by status.
GET
/pet/findByTags
Finds Pets by tags.
POST
/pet
Create a new pet
POST
/pet/{petId}
Update a pet with form data
POST
/pet/{petId}/uploadImage
Upload a pet image
PUT
/pet
Replace an existing pet
DELETE
/pet/{petId}
Delete a pet
02
Store
4 endpoints
GET
/store/inventory
List pet inventory by status
GET
/store/order/{orderId}
Find purchase order by ID.
POST
/store/order
Place a pet order
DELETE
/store/order/{orderId}
Delete purchase order by identifier.
03
User
7 endpoints
GET
/user/{username}
Get a user by username
GET
/user/login
Log in a user
GET
/user/logout
Log out the authenticated user
POST
/user
Create a user
POST
/user/createWithList
Create users from a list
PUT
/user/{username}
Update a user
DELETE
/user/{username}
Delete a user