This is a sample Pet Store Server based on the OpenAPI 3.0 specification.
For testing purposes, this is not required. You can use any value for api_key.
| Key | In | |
|---|---|---|
| api | Header |
Pet
Everything about your Pets
Update an existing pet
Update an existing pet by Id
Update an existent pet in the store
Successful operation
Invalid ID supplied
Pet not found
Validation exception
Add a new pet to the store
Add a new pet to the store
Create a new pet in the store
Successful operation
Invalid input
Finds Pets by status
Multiple status values can be provided with comma separated strings
successful operation
Invalid status value
Finds Pets by tags
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
successful operation
Invalid tag value
Find pet by ID
Returns a single pet
successful operation
Invalid ID supplied
Pet not found
Updates a pet in the store with form data
Invalid input
Deletes a pet
Invalid pet value
uploads an image
successful operation
Store
Access to Petstore orders
Returns pet inventories by status
Returns a map of status codes to quantities
successful operation
Place an order for a pet
Place a new order in the store
successful operation
Invalid input
Find purchase order by ID
For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions.
successful operation
Invalid ID supplied
Order not found
Delete purchase order by ID
For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
Invalid ID supplied
Order not found
User
Operations about user
Create user
This can only be done by the logged in user.
Created user object
successful operation
Creates list of users with given input array
Creates list of users with given input array
Successful operation
successful operation
Logs user into the system
successful operation
Invalid username/password supplied
Logs out current logged in user session
successful operation
Get user by user name
successful operation
Invalid username supplied
User not found
Update user
This can only be done by the logged in user.
Update an existent user in the store
successful operation
Delete user
This can only be done by the logged in user.
Invalid username supplied
User not found