package
1.0.4
Repository: https://github.com/rkosegi/db2rest-bridge.git
Documentation: pkg.go.dev

# Functions

GetSwagger returns the Swagger specification corresponding to the generated code in this file.
Handler creates http.Handler with routing matching OpenAPI spec.
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
No description provided by the author
HandlerWithOptions creates http.Handler with additional options.
Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewCreateItemRequest calls the generic CreateItem builder with application/json body.
NewCreateItemRequestWithBody generates requests for CreateItem with any type of body.
NewDeleteItemByIdRequest generates requests for DeleteItemById.
NewExistsItemByIdRequest generates requests for ExistsItemById.
NewGetItemByIdRequest generates requests for GetItemById.
NewListBackendsRequest generates requests for ListBackends.
NewListEntitiesRequest generates requests for ListEntities.
NewListItemsRequest generates requests for ListItems.
NewUpdateItemByIdRequest calls the generic UpdateItemById builder with application/json body.
NewUpdateItemByIdRequestWithBody generates requests for UpdateItemById with any type of body.
ParseCreateItemResponse parses an HTTP response from a CreateItemWithResponse call.
ParseDeleteItemByIdResponse parses an HTTP response from a DeleteItemByIdWithResponse call.
ParseExistsItemByIdResponse parses an HTTP response from a ExistsItemByIdWithResponse call.
ParseGetItemByIdResponse parses an HTTP response from a GetItemByIdWithResponse call.
ParseListBackendsResponse parses an HTTP response from a ListBackendsWithResponse call.
ParseListEntitiesResponse parses an HTTP response from a ListEntitiesWithResponse call.
ParseListItemsResponse parses an HTTP response from a ListItemsWithResponse call.
ParseUpdateItemByIdResponse parses an HTTP response from a UpdateItemByIdWithResponse call.
Constructs a synthetic filesystem for resolving external references when loading openapi specifications.
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.
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
ListItemsParams defines parameters for ListItems.
No description provided by the author
PagedResult Paged list of items.
No description provided by the author
No description provided by the author
ServerInterfaceWrapper converts contexts to parameters.
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.
ServerInterface represents all server handlers.

# Type aliases

Backend defines model for backend.
ClientOption allows setting custom parameters during construction.
CreateItemJSONRequestBody defines body for CreateItem for application/json ContentType.
Entity defines model for entity.
No description provided by the author
NameList List of names, such as backends or entities.
RequestEditorFn is the function signature for the RequestEditor callback function.
UntypedDto Unstructured content, dictionary of string-to-any values.
UpdateItemByIdJSONRequestBody defines body for UpdateItemById for application/json ContentType.