PetStore.API.Swagger.Controllers.Generated
Order Status
PetStore.API.Swagger.Controllers.Generated
pet status in the store
PetStore.API.Swagger.Controllers.Generated
Add a new pet to the store
Name | Type | Description |
---|---|---|
body | PetStore.API.Swagger.Controllers.Generated.Pet | Pet object that needs to be added to the store |
Deletes a pet
Name | Type | Description |
---|---|---|
petId | System.String | Pet id to delete |
Finds Pets by status
successful operation
Name | Type | Description |
---|---|---|
status | System.Collections.Generic.IEnumerable{PetStore.API.Swagger.Controllers.Generated.Anonymous} | Status values that need to be considered for filter |
Finds Pets by tags
successful operation
Name | Type | Description |
---|---|---|
tags | System.Collections.Generic.IEnumerable{System.String} | Tags to filter by |
Find pet by ID
successful operation
Name | Type | Description |
---|---|---|
petId | System.Int64 | ID of pet to return |
Update an existing pet
Name | Type | Description |
---|---|---|
body | PetStore.API.Swagger.Controllers.Generated.Pet | Pet object that needs to be added to the store |
Updates a pet in the store with form data
Name | Type | Description |
---|---|---|
petId | System.Int64 | ID of pet that needs to be updated |
name | System.String | Updated name of the pet |
status | System.String | Updated status of the pet |
uploads an image
successful operation
Name | Type | Description |
---|---|---|
petId | System.Int64 | ID of pet to update |
additionalMetadata | System.String | Additional data to pass to server |
file | PetStore.API.Swagger.Controllers.Generated.FileParameter | file to upload |
PetStore.API.Swagger.Controllers.Generated
Delete purchase order by ID
Name | Type | Description |
---|---|---|
orderId | System.Int64 | ID of the order that needs to be deleted |
Returns pet inventories by status
successful operation
This method has no parameters.
Find purchase order by ID
successful operation
Name | Type | Description |
---|---|---|
orderId | System.Int64 | ID of pet that needs to be fetched |
Place an order for a pet
successful operation
Name | Type | Description |
---|---|---|
body | PetStore.API.Swagger.Controllers.Generated.Order | order placed for purchasing the pet |
PetStore.API.Swagger.Controllers.Generated
User Status
PetStore.API.Swagger.Controllers.Generated
Create user
successful operation
Name | Type | Description |
---|---|---|
body | PetStore.API.Swagger.Controllers.Generated.User | Created user object |
Creates list of users with given input array
successful operation
Name | Type | Description |
---|---|---|
body | System.Collections.Generic.IEnumerable{PetStore.API.Swagger.Controllers.Generated.User} | List of user object |
Creates list of users with given input array
successful operation
Name | Type | Description |
---|---|---|
body | System.Collections.Generic.IEnumerable{PetStore.API.Swagger.Controllers.Generated.User} | List of user object |
Delete user
Name | Type | Description |
---|---|---|
username | System.String | The name that needs to be deleted |
Get user by user name
successful operation
Name | Type | Description |
---|---|---|
username | System.String | The name that needs to be fetched. Use user1 for testing. |
Logs user into the system
successful operation
Name | Type | Description |
---|---|---|
username | System.String | The user name for login |
password | System.String | The password for login in clear text |
Logs out current logged in user session
successful operation
This method has no parameters.
Updated user
Name | Type | Description |
---|---|---|
username | System.String | name that need to be updated |
body | PetStore.API.Swagger.Controllers.Generated.User | Updated user object |