package
1.2.11
Repository: https://github.com/rickardl/oapi-codegen.git
Documentation: pkg.go.dev

# Functions

GetSwagger returns the Swagger specification corresponding to the generated code in this file.
NewAddPetRequest calls the generic AddPet builder with application/json body.
NewAddPetRequestWithBody generates requests for AddPet with any type of body.
NewClientWithResponses returns a ClientWithResponses with a default Client:.
NewClientWithResponsesAndRequestEditorFunc takes in a RequestEditorFn callback function and returns a ClientWithResponses with a default Client:.
NewDeletePetRequest generates requests for DeletePet.
NewFindPetByIdRequest generates requests for FindPetById.
NewFindPetsRequest generates requests for FindPets.
ParseaddPetResponse parses an HTTP response from a AddPetWithResponse call.
ParsedeletePetResponse parses an HTTP response from a DeletePetWithResponse call.
ParsefindPetByIdResponse parses an HTTP response from a FindPetByIdWithResponse call.
ParsefindPetsResponse parses an HTTP response from a FindPetsWithResponse call.
RegisterHandlers adds each server route to the EchoRouter.

# Structs

Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
Error defines model for Error.
FindPetsParams defines parameters for FindPets.
NewPet defines model for NewPet.
Pet defines model for Pet.
ServerInterfaceWrapper converts echo contexts to parameters.

# Interfaces

The interface specification for the client above.
ServerInterface represents all server handlers.

# Type aliases

AddPetRequestBody defines body for AddPet for application/json ContentType.
RequestEditorFn is the function signature for the RequestEditor callback function.