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

# Functions

Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewLeavePostOnlyPostRequest generates requests for LeavePostOnlyPost.
NewShouldHaveBothRequest generates requests for ShouldHaveBoth.
NewShouldHaveSecondRequest generates requests for ShouldHaveSecond.
ParseLeavePostOnlyPostResponse parses an HTTP response from a LeavePostOnlyPostWithResponse call.
ParseShouldHaveBothResponse parses an HTTP response from a ShouldHaveBothWithResponse call.
ParseShouldHaveSecondResponse parses an HTTP response from a ShouldHaveSecondWithResponse call.
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

Client which conforms to the OpenAPI3 specification for this service.
No description provided by the author
No description provided by the author
No description provided by the author
ClientWithResponses builds on ClientInterface to offer response payloads.
LeavePostOnlyPostParams defines parameters for LeavePostOnlyPost.
SchemaObject defines model for SchemaObject.
ShouldHaveBothParams defines parameters for ShouldHaveBoth.
ShouldHaveSecondParams defines parameters for ShouldHaveSecond.

# Interfaces

The interface specification for the client above.
ClientWithResponsesInterface is the interface specification for the client with responses above.
Doer performs HTTP requests.

# Type aliases

ClientOption allows setting custom parameters during construction.
FirstParam defines model for FirstParam.
RequestEditorFn is the function signature for the RequestEditor callback function.
SecondParam defines model for SecondParam.