/* * OpenAPI Petstore * * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * * API version: 1.0.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package petstoreserver import ( "github.com/gin-gonic/gin" ) type PetAPI interface { // AddPet Post /v2/pet // Add a new pet to the store AddPet(c *gin.Context) // DeletePet Delete /v2/pet/:petId // Deletes a pet DeletePet(c *gin.Context) // FindPetsByStatus Get /v2/pet/findByStatus // Finds Pets by status FindPetsByStatus(c *gin.Context) // FindPetsByTags Get /v2/pet/findByTags // Finds Pets by tags // Deprecated FindPetsByTags(c *gin.Context) // GetPetById Get /v2/pet/:petId // Find pet by ID GetPetById(c *gin.Context) // UpdatePet Put /v2/pet // Update an existing pet UpdatePet(c *gin.Context) // UpdatePetWithForm Post /v2/pet/:petId // Updates a pet in the store with form data UpdatePetWithForm(c *gin.Context) // UploadFile Post /v2/pet/:petId/uploadImage // uploads an image UploadFile(c *gin.Context) }