provider 19 operations
@utdk/petstore
Swagger Petstore - OpenAPI 3.0
Generated UTDK provider client for Swagger Petstore - OpenAPI 3.0. This is a sample Pet Store Server based on the OpenAPI 3.0 specification. You can find out more about Swagger at https://swagger.io. In the third iteration of the pet store, we've switched to the design first approach! You can now help us improve the API whether it's by making changes to the definition itself or to the code. That way, with time, we can improve the API in general, and expose some of the new features in OAS3.
Some useful links:
README
Embedded directly from the package source.
petstore
Generated UTDK provider types and OpenAPI-backed client for https://petstore3.swagger.io/api/v3/openapi.json.
Operations
19 operations —
open try-it console
| Method | Operation ID | Path | Summary | |
|---|---|---|---|---|
| POST | addPet | /pet | Add a new pet to the store. | Try |
| PUT | updatePet | /pet | Update an existing pet. | Try |
| GET | findPetsByStatus | /pet/findByStatus | Finds Pets by status. | Try |
| GET | findPetsByTags | /pet/findByTags | Finds Pets by tags. | Try |
| GET | getPetById | /pet/{petId} | Find pet by ID. | Try |
| POST | updatePetWithForm | /pet/{petId} | Updates a pet in the store with form data. | Try |
| DELETE | deletePet | /pet/{petId} | Deletes a pet. | Try |
| POST | uploadFile | /pet/{petId}/uploadImage | Uploads an image. | Try |
| GET | getInventory | /store/inventory | Returns pet inventories by status. | Try |
| POST | placeOrder | /store/order | Place an order for a pet. | Try |
| GET | getOrderById | /store/order/{orderId} | Find purchase order by ID. | Try |
| DELETE | deleteOrder | /store/order/{orderId} | Delete purchase order by identifier. | Try |
| POST | createUser | /user | Create user. | Try |
| POST | createUsersWithListInput | /user/createWithList | Creates list of users with given input array. | Try |
| GET | loginUser | /user/login | Logs user into the system. | Try |
| GET | logoutUser | /user/logout | Logs out current logged in user session. | Try |
| GET | getUserByName | /user/{username} | Get user by user name. | Try |
| PUT | updateUser | /user/{username} | Update user resource. | Try |
| DELETE | deleteUser | /user/{username} | Delete user resource. | Try |