# Functions
Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewHeadersExampleRequest calls the generic HeadersExample builder with application/json body.
NewHeadersExampleRequestWithBody generates requests for HeadersExample with any type of body.
NewJSONExampleRequest calls the generic JSONExample builder with application/json body.
NewJSONExampleRequestWithBody generates requests for JSONExample with any type of body.
NewMultipartExampleRequestWithBody generates requests for MultipartExample with any type of body.
NewMultipleRequestAndResponseTypesRequest calls the generic MultipleRequestAndResponseTypes builder with application/json body.
NewMultipleRequestAndResponseTypesRequestWithBody generates requests for MultipleRequestAndResponseTypes with any type of body.
NewMultipleRequestAndResponseTypesRequestWithFormdataBody calls the generic MultipleRequestAndResponseTypes builder with application/x-www-form-urlencoded body.
NewMultipleRequestAndResponseTypesRequestWithTextBody calls the generic MultipleRequestAndResponseTypes builder with text/plain body.
NewReservedGoKeywordParametersRequest generates requests for ReservedGoKeywordParameters.
NewReusableResponsesRequest calls the generic ReusableResponses builder with application/json body.
NewReusableResponsesRequestWithBody generates requests for ReusableResponses with any type of body.
NewTextExampleRequestWithBody generates requests for TextExample with any type of body.
NewTextExampleRequestWithTextBody calls the generic TextExample builder with text/plain body.
NewUnknownExampleRequestWithBody generates requests for UnknownExample with any type of body.
NewUnspecifiedContentTypeRequestWithBody generates requests for UnspecifiedContentType with any type of body.
NewURLEncodedExampleRequestWithBody generates requests for URLEncodedExample with any type of body.
NewURLEncodedExampleRequestWithFormdataBody calls the generic URLEncodedExample builder with application/x-www-form-urlencoded body.
ParseHeadersExampleResponse parses an HTTP response from a HeadersExampleWithResponse call.
ParseJSONExampleResponse parses an HTTP response from a JSONExampleWithResponse call.
ParseMultipartExampleResponse parses an HTTP response from a MultipartExampleWithResponse call.
ParseMultipleRequestAndResponseTypesResponse parses an HTTP response from a MultipleRequestAndResponseTypesWithResponse call.
ParseReservedGoKeywordParametersResponse parses an HTTP response from a ReservedGoKeywordParametersWithResponse call.
ParseReusableResponsesResponse parses an HTTP response from a ReusableResponsesWithResponse call.
ParseTextExampleResponse parses an HTTP response from a TextExampleWithResponse call.
ParseUnknownExampleResponse parses an HTTP response from a UnknownExampleWithResponse call.
ParseUnspecifiedContentTypeResponse parses an HTTP response from a UnspecifiedContentTypeWithResponse call.
ParseURLEncodedExampleResponse parses an HTTP response from a URLEncodedExampleWithResponse 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.
ClientWithResponses builds on ClientInterface to offer response payloads.
Example defines model for example.
HeadersExampleParams defines parameters for HeadersExample.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# 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.
HeadersExampleJSONRequestBody defines body for HeadersExample for application/json ContentType.
JSONExampleJSONRequestBody defines body for JSONExample for application/json ContentType.
MultipartExampleMultipartRequestBody defines body for MultipartExample for multipart/form-data ContentType.
MultipleRequestAndResponseTypesFormdataRequestBody defines body for MultipleRequestAndResponseTypes for application/x-www-form-urlencoded ContentType.
MultipleRequestAndResponseTypesJSONRequestBody defines body for MultipleRequestAndResponseTypes for application/json ContentType.
MultipleRequestAndResponseTypesMultipartRequestBody defines body for MultipleRequestAndResponseTypes for multipart/form-data ContentType.
MultipleRequestAndResponseTypesTextBody defines parameters for MultipleRequestAndResponseTypes.
MultipleRequestAndResponseTypesTextRequestBody defines body for MultipleRequestAndResponseTypes for text/plain ContentType.
RequestEditorFn is the function signature for the RequestEditor callback function.
Reusableresponse defines model for reusableresponse.
ReusableResponsesJSONRequestBody defines body for ReusableResponses for application/json ContentType.
TextExampleTextBody defines parameters for TextExample.
TextExampleTextRequestBody defines body for TextExample for text/plain ContentType.
URLEncodedExampleFormdataRequestBody defines body for URLEncodedExample for application/x-www-form-urlencoded ContentType.