# Functions
NewAddDocumentRequest calls the generic AddDocument builder with application/json body.
NewAddDocumentRequestWithBody generates requests for AddDocument with any type of body.
Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewGetDocumentContentsRequest generates requests for GetDocumentContents.
NewGetDocumentRequest generates requests for GetDocument.
NewListDocumentsRequest generates requests for ListDocuments.
ParseAddDocumentResponse parses an HTTP response from a AddDocumentWithResponse call.
ParseGetDocumentContentsResponse parses an HTTP response from a GetDocumentContentsWithResponse call.
ParseGetDocumentResponse parses an HTTP response from a GetDocumentWithResponse call.
ParseListDocumentsResponse parses an HTTP response from a ListDocumentsWithResponse call.
RegisterHandlers adds each server route to the EchoRouter.
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
ApiWrapper is needed to connect the implementation to the echo ServiceWrapper.
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
Document defines model for Document.
DocumentWithContents defines model for DocumentWithContents.
HttpClient holds the server address and other basic settings for the http client.
ServerInterfaceWrapper converts echo contexts to parameters.
# Interfaces
The interface specification for the client above.
This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration.
Doer performs HTTP requests.
ServerInterface represents all server handlers.
# Type aliases
AddDocumentJSONBody defines parameters for AddDocument.
AddDocumentRequestBody defines body for AddDocument for application/json ContentType.
ClientOption allows setting custom parameters during construction.
RequestEditorFn is the function signature for the RequestEditor callback function.