# Packages
Package models provides primitives to interact with the openapi HTTP API.
# 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.
Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewDeletePetRequest generates requests for DeletePet.
NewFindPetByIDRequest generates requests for FindPetByID.
NewFindPetsRequest generates requests for FindPets.
No description provided by the author
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.
Constructs a synthetic filesystem for resolving external references when loading openapi specifications.
No description provided by the author
RegisterHandlers adds each server route to the FiberRouter.
Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.
WithBaseURL overrides the baseURL.
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client.
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request.
# Structs
No description provided by the author
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ServerInterfaceWrapper converts fiber contexts to parameters.
# Interfaces
The interface specification for the client above.
ClientWithResponsesInterface is the interface specification for the client with responses above.
This is a simple interface which specifies fiber.Route addition functions which are present on both fiber.App and fiber.Router, since we want to allow using either of them for path registration.
Doer performs HTTP requests.
ServerInterface represents all server handlers.
# Type aliases
ClientOption allows setting custom parameters during construction.
RequestEditorFn is the function signature for the RequestEditor callback function.