Documentation ¶
Overview ¶
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen/v2 version v2.1.0 DO NOT EDIT.
Index ¶
- func GetSwagger() (swagger *openapi3.T, err error)
- func Handler(si ServerInterface) http.Handler
- func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler
- func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler
- func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler
- func NewCreateClaimRequest(server string, body CreateClaimJSONRequestBody) (*http.Request, error)
- func NewCreateClaimRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateClaimTypeRequest(server string, body CreateClaimTypeJSONRequestBody) (*http.Request, error)
- func NewCreateClaimTypeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateOperationRequest(server string, body CreateOperationJSONRequestBody) (*http.Request, error)
- func NewCreateOperationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewExpireClaimTypeRequest(server string, params *ExpireClaimTypeParams) (*http.Request, error)
- func NewFindClaimRequest(server string, params *FindClaimParams) (*http.Request, error)
- func NewResetDatabaseRequest(server string) (*http.Request, error)
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- type AnnotatingClaimData
- type BadRequestErrorResponse
- type BadRequestErrorResponseJSONResponse
- type ChiServerOptions
- type Claim
- type ClaimCreateResponse
- type ClaimCreateResponseJSONResponse
- type ClaimData
- type ClaimDataQuery
- type ClaimFindData
- type ClaimFindResponse
- type ClaimFindResponseJSONResponse
- type ClaimID
- type ClaimKind
- type ClaimRequest
- type ClaimType
- type ClaimTypeCreateResponse
- type ClaimTypeCreateResponseJSONResponse
- type ClaimTypeID
- type ClaimTypeName
- type ClaimTypeRequest
- type ClaimantID
- type Client
- func (c *Client) CreateClaim(ctx context.Context, body CreateClaimJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateClaimType(ctx context.Context, body CreateClaimTypeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateClaimTypeWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateClaimWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateOperation(ctx context.Context, body CreateOperationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateOperationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ExpireClaimType(ctx context.Context, params *ExpireClaimTypeParams, ...) (*http.Response, error)
- func (c *Client) FindClaim(ctx context.Context, params *FindClaimParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ResetDatabase(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CreateClaimTypeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateClaimTypeResponse, error)
- func (c *ClientWithResponses) CreateClaimTypeWithResponse(ctx context.Context, body CreateClaimTypeJSONRequestBody, ...) (*CreateClaimTypeResponse, error)
- func (c *ClientWithResponses) CreateClaimWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateClaimResponse, error)
- func (c *ClientWithResponses) CreateClaimWithResponse(ctx context.Context, body CreateClaimJSONRequestBody, ...) (*CreateClaimResponse, error)
- func (c *ClientWithResponses) CreateOperationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateOperationResponse, error)
- func (c *ClientWithResponses) CreateOperationWithResponse(ctx context.Context, body CreateOperationJSONRequestBody, ...) (*CreateOperationResponse, error)
- func (c *ClientWithResponses) ExpireClaimTypeWithResponse(ctx context.Context, params *ExpireClaimTypeParams, ...) (*ExpireClaimTypeResponse, error)
- func (c *ClientWithResponses) FindClaimWithResponse(ctx context.Context, params *FindClaimParams, reqEditors ...RequestEditorFn) (*FindClaimResponse, error)
- func (c *ClientWithResponses) ResetDatabaseWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ResetDatabaseResponse, error)
- type ClientWithResponsesInterface
- type CreateClaim201JSONResponse
- type CreateClaim400JSONResponse
- type CreateClaim500JSONResponse
- type CreateClaimData
- type CreateClaimJSONBody
- type CreateClaimJSONRequestBody
- type CreateClaimRequestObject
- type CreateClaimResponse
- type CreateClaimResponseObject
- type CreateClaimType201JSONResponse
- type CreateClaimType400JSONResponse
- type CreateClaimType500JSONResponse
- type CreateClaimTypeData
- type CreateClaimTypeJSONBody
- type CreateClaimTypeJSONRequestBody
- type CreateClaimTypeRequestObject
- type CreateClaimTypeResponse
- type CreateClaimTypeResponseObject
- type CreateOperation201JSONResponse
- type CreateOperation400JSONResponse
- type CreateOperation500JSONResponse
- type CreateOperationData
- type CreateOperationJSONBody
- type CreateOperationJSONRequestBody
- type CreateOperationRequestObject
- type CreateOperationResponse
- type CreateOperationResponseObject
- type Date
- type EmptyResponse
- type EmptyResponseJSONResponse
- type Error
- type ExpireClaimType200JSONResponse
- type ExpireClaimType400JSONResponse
- type ExpireClaimType500JSONResponse
- type ExpireClaimTypeParams
- type ExpireClaimTypeRequestObject
- type ExpireClaimTypeResponse
- type ExpireClaimTypeResponseObject
- type FindClaim200JSONResponse
- type FindClaim400JSONResponse
- type FindClaim500JSONResponse
- type FindClaimData
- type FindClaimParams
- type FindClaimRequestObject
- type FindClaimResponse
- type FindClaimResponseObject
- type HttpRequestDoer
- type InternalServerError
- type InternalServerErrorJSONResponse
- type InvalidParamFormatError
- type MiddlewareFunc
- type Operation
- type OperationCreateResponse
- type OperationCreateResponseJSONResponse
- type OperationID
- type OperationRequest
- type OperationType
- type QueryAssociatedClaim
- type QueryAssociatedOperation
- type QueryClaimID
- type QueryClaimKind
- type QueryClaimSubject
- type QueryClaimType
- type QueryClaimTypeRequired
- type QueryClaimant
- type QueryData
- type QueryRegistrationEnd
- type QueryRegistrationStart
- type QueryValidEnd
- type QueryValidEndRequired
- type QueryValidStart
- type RequestEditorFn
- type RequiredHeaderError
- type RequiredParamError
- type ResetDatabase204JSONResponse
- type ResetDatabase500JSONResponse
- type ResetDatabaseRequestObject
- type ResetDatabaseResponse
- type ResetDatabaseResponseObject
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) CreateClaim(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateClaimType(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateOperation(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ExpireClaimType(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) FindClaim(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ResetDatabase(w http.ResponseWriter, r *http.Request)
- type StrictHTTPServerOptions
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type SubjectID
- type TooManyValuesForParamError
- type UnescapedCookieParamError
- type Unimplemented
- func (_ Unimplemented) CreateClaim(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) CreateClaimType(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) CreateOperation(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ExpireClaimType(w http.ResponseWriter, r *http.Request, params ExpireClaimTypeParams)
- func (_ Unimplemented) FindClaim(w http.ResponseWriter, r *http.Request, params FindClaimParams)
- func (_ Unimplemented) ResetDatabase(w http.ResponseWriter, r *http.Request)
- type UnmarshalingParamError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSwagger ¶
GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.
func Handler ¶
func Handler(si ServerInterface) http.Handler
Handler creates http.Handler with routing matching OpenAPI spec.
func HandlerFromMux ¶
func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
func HandlerFromMuxWithBaseURL ¶
func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler
func HandlerWithOptions ¶
func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler
HandlerWithOptions creates http.Handler with additional options
func NewCreateClaimRequest ¶
func NewCreateClaimRequest(server string, body CreateClaimJSONRequestBody) (*http.Request, error)
NewCreateClaimRequest calls the generic CreateClaim builder with application/json body
func NewCreateClaimRequestWithBody ¶
func NewCreateClaimRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateClaimRequestWithBody generates requests for CreateClaim with any type of body
func NewCreateClaimTypeRequest ¶
func NewCreateClaimTypeRequest(server string, body CreateClaimTypeJSONRequestBody) (*http.Request, error)
NewCreateClaimTypeRequest calls the generic CreateClaimType builder with application/json body
func NewCreateClaimTypeRequestWithBody ¶
func NewCreateClaimTypeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateClaimTypeRequestWithBody generates requests for CreateClaimType with any type of body
func NewCreateOperationRequest ¶
func NewCreateOperationRequest(server string, body CreateOperationJSONRequestBody) (*http.Request, error)
NewCreateOperationRequest calls the generic CreateOperation builder with application/json body
func NewCreateOperationRequestWithBody ¶
func NewCreateOperationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateOperationRequestWithBody generates requests for CreateOperation with any type of body
func NewExpireClaimTypeRequest ¶
func NewExpireClaimTypeRequest(server string, params *ExpireClaimTypeParams) (*http.Request, error)
NewExpireClaimTypeRequest generates requests for ExpireClaimType
func NewFindClaimRequest ¶
func NewFindClaimRequest(server string, params *FindClaimParams) (*http.Request, error)
NewFindClaimRequest generates requests for FindClaim
func NewResetDatabaseRequest ¶
NewResetDatabaseRequest generates requests for ResetDatabase
Types ¶
type AnnotatingClaimData ¶
type AnnotatingClaimData struct { // Id The claims id Id *ClaimID `json:"id,omitempty"` // Kind The claim kind Kind *ClaimKind `json:"kind,omitempty"` }
AnnotatingClaimData The kind of a claim
type BadRequestErrorResponse ¶
type BadRequestErrorResponse struct {
Errors []Error `json:"errors"`
}
BadRequestErrorResponse defines model for BadRequestErrorResponse.
type BadRequestErrorResponseJSONResponse ¶
type BadRequestErrorResponseJSONResponse struct {
Errors []Error `json:"errors"`
}
type ChiServerOptions ¶
type ChiServerOptions struct { BaseURL string BaseRouter chi.Router Middlewares []MiddlewareFunc ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) }
type Claim ¶
type Claim struct { // AssociatedClaim The claims id AssociatedClaim *ClaimID `json:"associatedClaim,omitempty"` // ClaimKind The claim kind ClaimKind ClaimKind `json:"claim_kind"` // ClaimType The claim type ClaimType ClaimTypeName `json:"claim_type"` // Claimant The id of the entity making the claim Claimant ClaimantID `json:"claimant"` // Data The data object of a claim Data ClaimData `json:"data"` // RegistrationStart A date/time moment in ISO8601 RegistrationStart Date `json:"registrationStart"` // Subject The id of the entity that is the subject of the claim Subject SubjectID `json:"subject"` // ValidStart A date/time moment in ISO8601 ValidStart *Date `json:"validStart,omitempty"` }
Claim A claim including its data
type ClaimCreateResponse ¶
type ClaimCreateResponse struct { // Data The data returned after creating a claim Data *CreateClaimData `json:"data,omitempty"` }
ClaimCreateResponse defines model for ClaimCreateResponse.
type ClaimCreateResponseJSONResponse ¶
type ClaimCreateResponseJSONResponse struct { // Data The data returned after creating a claim Data *CreateClaimData `json:"data,omitempty"` }
type ClaimFindData ¶
type ClaimFindData struct { AnnotatingClaims *[]AnnotatingClaimData `json:"annotatingClaims,omitempty"` // AssociatedClaim The claims id AssociatedClaim *ClaimID `json:"associatedClaim,omitempty"` // AssociatedOperation The operations id AssociatedOperation *OperationID `json:"associatedOperation,omitempty"` // ClaimKind The claim kind ClaimKind ClaimKind `json:"claim_kind"` // ClaimType The claim type ClaimType ClaimTypeName `json:"claim_type"` // Claimant The id of the entity making the claim Claimant ClaimantID `json:"claimant"` // Data The data object of a claim Data ClaimData `json:"data"` // Id The claims id Id *ClaimID `json:"id,omitempty"` // RegistrationEnd A date/time moment in ISO8601 RegistrationEnd *Date `json:"registrationEnd,omitempty"` // RegistrationStart A date/time moment in ISO8601 RegistrationStart Date `json:"registrationStart"` // Subject The id of the entity that is the subject of the claim Subject SubjectID `json:"subject"` // ValidEnd A date/time moment in ISO8601 ValidEnd *Date `json:"validEnd,omitempty"` // ValidStart A date/time moment in ISO8601 ValidStart *Date `json:"validStart,omitempty"` }
ClaimFindData defines model for ClaimFindData.
type ClaimFindResponse ¶
type ClaimFindResponse struct { // Data The list of found claims Data *FindClaimData `json:"data,omitempty"` }
ClaimFindResponse defines model for ClaimFindResponse.
type ClaimFindResponseJSONResponse ¶
type ClaimFindResponseJSONResponse struct { // Data The list of found claims Data *FindClaimData `json:"data,omitempty"` }
type ClaimRequest ¶
type ClaimRequest struct { // Input A claim including its data Input Claim `json:"input"` }
ClaimRequest defines model for ClaimRequest.
type ClaimType ¶
type ClaimType struct { // Name The claim type Name ClaimTypeName `json:"name"` Schema map[string]interface{} `json:"schema"` // ValidEnd A date/time moment in ISO8601 ValidEnd *Date `json:"validEnd,omitempty"` // ValidStart A date/time moment in ISO8601 ValidStart *Date `json:"validStart,omitempty"` }
ClaimType A claim type including its schema definition
type ClaimTypeCreateResponse ¶
type ClaimTypeCreateResponse struct { // Data The data returned after creating a claim type Data *CreateClaimTypeData `json:"data,omitempty"` }
ClaimTypeCreateResponse defines model for ClaimTypeCreateResponse.
type ClaimTypeCreateResponseJSONResponse ¶
type ClaimTypeCreateResponseJSONResponse struct { // Data The data returned after creating a claim type Data *CreateClaimTypeData `json:"data,omitempty"` }
type ClaimTypeRequest ¶
type ClaimTypeRequest struct { // Input A claim type including its schema definition Input ClaimType `json:"input"` }
ClaimTypeRequest defines model for ClaimTypeRequest.
type ClaimantID ¶
type ClaimantID = openapi_types.UUID
ClaimantID The id of the entity making the claim
type Client ¶
type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []RequestEditorFn }
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) CreateClaim ¶
func (c *Client) CreateClaim(ctx context.Context, body CreateClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateClaimType ¶
func (c *Client) CreateClaimType(ctx context.Context, body CreateClaimTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateClaimTypeWithBody ¶
func (*Client) CreateClaimWithBody ¶
func (*Client) CreateOperation ¶
func (c *Client) CreateOperation(ctx context.Context, body CreateOperationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateOperationWithBody ¶
func (*Client) ExpireClaimType ¶
func (c *Client) ExpireClaimType(ctx context.Context, params *ExpireClaimTypeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) FindClaim ¶
func (c *Client) FindClaim(ctx context.Context, params *FindClaimParams, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface { // FindClaim request FindClaim(ctx context.Context, params *FindClaimParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateClaimWithBody request with any body CreateClaimWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateClaim(ctx context.Context, body CreateClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ExpireClaimType request ExpireClaimType(ctx context.Context, params *ExpireClaimTypeParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateClaimTypeWithBody request with any body CreateClaimTypeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateClaimType(ctx context.Context, body CreateClaimTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateOperationWithBody request with any body CreateOperationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateOperation(ctx context.Context, body CreateOperationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ResetDatabase request ResetDatabase(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) CreateClaimTypeWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateClaimTypeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateClaimTypeResponse, error)
CreateClaimTypeWithBodyWithResponse request with arbitrary body returning *CreateClaimTypeResponse
func (*ClientWithResponses) CreateClaimTypeWithResponse ¶
func (c *ClientWithResponses) CreateClaimTypeWithResponse(ctx context.Context, body CreateClaimTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClaimTypeResponse, error)
func (*ClientWithResponses) CreateClaimWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateClaimWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateClaimResponse, error)
CreateClaimWithBodyWithResponse request with arbitrary body returning *CreateClaimResponse
func (*ClientWithResponses) CreateClaimWithResponse ¶
func (c *ClientWithResponses) CreateClaimWithResponse(ctx context.Context, body CreateClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClaimResponse, error)
func (*ClientWithResponses) CreateOperationWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateOperationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOperationResponse, error)
CreateOperationWithBodyWithResponse request with arbitrary body returning *CreateOperationResponse
func (*ClientWithResponses) CreateOperationWithResponse ¶
func (c *ClientWithResponses) CreateOperationWithResponse(ctx context.Context, body CreateOperationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOperationResponse, error)
func (*ClientWithResponses) ExpireClaimTypeWithResponse ¶
func (c *ClientWithResponses) ExpireClaimTypeWithResponse(ctx context.Context, params *ExpireClaimTypeParams, reqEditors ...RequestEditorFn) (*ExpireClaimTypeResponse, error)
ExpireClaimTypeWithResponse request returning *ExpireClaimTypeResponse
func (*ClientWithResponses) FindClaimWithResponse ¶
func (c *ClientWithResponses) FindClaimWithResponse(ctx context.Context, params *FindClaimParams, reqEditors ...RequestEditorFn) (*FindClaimResponse, error)
FindClaimWithResponse request returning *FindClaimResponse
func (*ClientWithResponses) ResetDatabaseWithResponse ¶
func (c *ClientWithResponses) ResetDatabaseWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ResetDatabaseResponse, error)
ResetDatabaseWithResponse request returning *ResetDatabaseResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // FindClaimWithResponse request FindClaimWithResponse(ctx context.Context, params *FindClaimParams, reqEditors ...RequestEditorFn) (*FindClaimResponse, error) // CreateClaimWithBodyWithResponse request with any body CreateClaimWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateClaimResponse, error) CreateClaimWithResponse(ctx context.Context, body CreateClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClaimResponse, error) // ExpireClaimTypeWithResponse request ExpireClaimTypeWithResponse(ctx context.Context, params *ExpireClaimTypeParams, reqEditors ...RequestEditorFn) (*ExpireClaimTypeResponse, error) // CreateClaimTypeWithBodyWithResponse request with any body CreateClaimTypeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateClaimTypeResponse, error) CreateClaimTypeWithResponse(ctx context.Context, body CreateClaimTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClaimTypeResponse, error) // CreateOperationWithBodyWithResponse request with any body CreateOperationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOperationResponse, error) CreateOperationWithResponse(ctx context.Context, body CreateOperationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOperationResponse, error) // ResetDatabaseWithResponse request ResetDatabaseWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ResetDatabaseResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateClaim201JSONResponse ¶
type CreateClaim201JSONResponse struct {
ClaimCreateResponseJSONResponse
}
func (CreateClaim201JSONResponse) VisitCreateClaimResponse ¶
func (response CreateClaim201JSONResponse) VisitCreateClaimResponse(w http.ResponseWriter) error
type CreateClaim400JSONResponse ¶
type CreateClaim400JSONResponse struct {
BadRequestErrorResponseJSONResponse
}
func (CreateClaim400JSONResponse) VisitCreateClaimResponse ¶
func (response CreateClaim400JSONResponse) VisitCreateClaimResponse(w http.ResponseWriter) error
type CreateClaim500JSONResponse ¶
type CreateClaim500JSONResponse struct {
InternalServerErrorJSONResponse
}
func (CreateClaim500JSONResponse) VisitCreateClaimResponse ¶
func (response CreateClaim500JSONResponse) VisitCreateClaimResponse(w http.ResponseWriter) error
type CreateClaimData ¶
type CreateClaimData struct { // Id The claims id Id ClaimID `json:"id"` }
CreateClaimData The data returned after creating a claim
type CreateClaimJSONBody ¶
type CreateClaimJSONBody struct { // Input A claim including its data Input Claim `json:"input"` }
CreateClaimJSONBody defines parameters for CreateClaim.
type CreateClaimJSONRequestBody ¶
type CreateClaimJSONRequestBody CreateClaimJSONBody
CreateClaimJSONRequestBody defines body for CreateClaim for application/json ContentType.
type CreateClaimRequestObject ¶
type CreateClaimRequestObject struct {
Body *CreateClaimJSONRequestBody
}
type CreateClaimResponse ¶
type CreateClaimResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ClaimCreateResponse JSON400 *BadRequestErrorResponse JSON500 *InternalServerError }
func ParseCreateClaimResponse ¶
func ParseCreateClaimResponse(rsp *http.Response) (*CreateClaimResponse, error)
ParseCreateClaimResponse parses an HTTP response from a CreateClaimWithResponse call
func (CreateClaimResponse) Status ¶
func (r CreateClaimResponse) Status() string
Status returns HTTPResponse.Status
func (CreateClaimResponse) StatusCode ¶
func (r CreateClaimResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateClaimResponseObject ¶
type CreateClaimResponseObject interface {
VisitCreateClaimResponse(w http.ResponseWriter) error
}
type CreateClaimType201JSONResponse ¶
type CreateClaimType201JSONResponse struct {
ClaimTypeCreateResponseJSONResponse
}
func (CreateClaimType201JSONResponse) VisitCreateClaimTypeResponse ¶
func (response CreateClaimType201JSONResponse) VisitCreateClaimTypeResponse(w http.ResponseWriter) error
type CreateClaimType400JSONResponse ¶
type CreateClaimType400JSONResponse struct {
BadRequestErrorResponseJSONResponse
}
func (CreateClaimType400JSONResponse) VisitCreateClaimTypeResponse ¶
func (response CreateClaimType400JSONResponse) VisitCreateClaimTypeResponse(w http.ResponseWriter) error
type CreateClaimType500JSONResponse ¶
type CreateClaimType500JSONResponse struct {
InternalServerErrorJSONResponse
}
func (CreateClaimType500JSONResponse) VisitCreateClaimTypeResponse ¶
func (response CreateClaimType500JSONResponse) VisitCreateClaimTypeResponse(w http.ResponseWriter) error
type CreateClaimTypeData ¶
type CreateClaimTypeData struct { // Id The claim type id Id ClaimTypeID `json:"id"` }
CreateClaimTypeData The data returned after creating a claim type
type CreateClaimTypeJSONBody ¶
type CreateClaimTypeJSONBody struct { // Input A claim type including its schema definition Input ClaimType `json:"input"` }
CreateClaimTypeJSONBody defines parameters for CreateClaimType.
type CreateClaimTypeJSONRequestBody ¶
type CreateClaimTypeJSONRequestBody CreateClaimTypeJSONBody
CreateClaimTypeJSONRequestBody defines body for CreateClaimType for application/json ContentType.
type CreateClaimTypeRequestObject ¶
type CreateClaimTypeRequestObject struct {
Body *CreateClaimTypeJSONRequestBody
}
type CreateClaimTypeResponse ¶
type CreateClaimTypeResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ClaimTypeCreateResponse JSON400 *BadRequestErrorResponse JSON500 *InternalServerError }
func ParseCreateClaimTypeResponse ¶
func ParseCreateClaimTypeResponse(rsp *http.Response) (*CreateClaimTypeResponse, error)
ParseCreateClaimTypeResponse parses an HTTP response from a CreateClaimTypeWithResponse call
func (CreateClaimTypeResponse) Status ¶
func (r CreateClaimTypeResponse) Status() string
Status returns HTTPResponse.Status
func (CreateClaimTypeResponse) StatusCode ¶
func (r CreateClaimTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateClaimTypeResponseObject ¶
type CreateClaimTypeResponseObject interface {
VisitCreateClaimTypeResponse(w http.ResponseWriter) error
}
type CreateOperation201JSONResponse ¶
type CreateOperation201JSONResponse struct {
OperationCreateResponseJSONResponse
}
func (CreateOperation201JSONResponse) VisitCreateOperationResponse ¶
func (response CreateOperation201JSONResponse) VisitCreateOperationResponse(w http.ResponseWriter) error
type CreateOperation400JSONResponse ¶
type CreateOperation400JSONResponse struct {
BadRequestErrorResponseJSONResponse
}
func (CreateOperation400JSONResponse) VisitCreateOperationResponse ¶
func (response CreateOperation400JSONResponse) VisitCreateOperationResponse(w http.ResponseWriter) error
type CreateOperation500JSONResponse ¶
type CreateOperation500JSONResponse struct {
InternalServerErrorJSONResponse
}
func (CreateOperation500JSONResponse) VisitCreateOperationResponse ¶
func (response CreateOperation500JSONResponse) VisitCreateOperationResponse(w http.ResponseWriter) error
type CreateOperationData ¶
type CreateOperationData struct { // Id The operations id Id OperationID `json:"id"` }
CreateOperationData The data returned after creating an operation
type CreateOperationJSONBody ¶
type CreateOperationJSONBody struct { // Input A collection of related claims Input Operation `json:"input"` }
CreateOperationJSONBody defines parameters for CreateOperation.
type CreateOperationJSONRequestBody ¶
type CreateOperationJSONRequestBody CreateOperationJSONBody
CreateOperationJSONRequestBody defines body for CreateOperation for application/json ContentType.
type CreateOperationRequestObject ¶
type CreateOperationRequestObject struct {
Body *CreateOperationJSONRequestBody
}
type CreateOperationResponse ¶
type CreateOperationResponse struct { Body []byte HTTPResponse *http.Response JSON201 *OperationCreateResponse JSON400 *BadRequestErrorResponse JSON500 *InternalServerError }
func ParseCreateOperationResponse ¶
func ParseCreateOperationResponse(rsp *http.Response) (*CreateOperationResponse, error)
ParseCreateOperationResponse parses an HTTP response from a CreateOperationWithResponse call
func (CreateOperationResponse) Status ¶
func (r CreateOperationResponse) Status() string
Status returns HTTPResponse.Status
func (CreateOperationResponse) StatusCode ¶
func (r CreateOperationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateOperationResponseObject ¶
type CreateOperationResponseObject interface {
VisitCreateOperationResponse(w http.ResponseWriter) error
}
type EmptyResponse ¶
type EmptyResponse = map[string]interface{}
EmptyResponse defines model for EmptyResponse.
type Error ¶
type Error struct {
Message string `json:"message"`
}
Error The error that occurred while processing this request.
type ExpireClaimType200JSONResponse ¶
type ExpireClaimType200JSONResponse struct{ EmptyResponseJSONResponse }
func (ExpireClaimType200JSONResponse) VisitExpireClaimTypeResponse ¶
func (response ExpireClaimType200JSONResponse) VisitExpireClaimTypeResponse(w http.ResponseWriter) error
type ExpireClaimType400JSONResponse ¶
type ExpireClaimType400JSONResponse struct {
BadRequestErrorResponseJSONResponse
}
func (ExpireClaimType400JSONResponse) VisitExpireClaimTypeResponse ¶
func (response ExpireClaimType400JSONResponse) VisitExpireClaimTypeResponse(w http.ResponseWriter) error
type ExpireClaimType500JSONResponse ¶
type ExpireClaimType500JSONResponse struct {
InternalServerErrorJSONResponse
}
func (ExpireClaimType500JSONResponse) VisitExpireClaimTypeResponse ¶
func (response ExpireClaimType500JSONResponse) VisitExpireClaimTypeResponse(w http.ResponseWriter) error
type ExpireClaimTypeParams ¶
type ExpireClaimTypeParams struct { // ClaimType Kind of type to return (required). ClaimType QueryClaimTypeRequired `form:"claimType" json:"claimType"` // ValidEnd the valid end date of the claim (required). ValidEnd QueryValidEndRequired `form:"validEnd" json:"validEnd"` }
ExpireClaimTypeParams defines parameters for ExpireClaimType.
type ExpireClaimTypeRequestObject ¶
type ExpireClaimTypeRequestObject struct {
Params ExpireClaimTypeParams
}
type ExpireClaimTypeResponse ¶
type ExpireClaimTypeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EmptyResponse JSON400 *BadRequestErrorResponse JSON500 *InternalServerError }
func ParseExpireClaimTypeResponse ¶
func ParseExpireClaimTypeResponse(rsp *http.Response) (*ExpireClaimTypeResponse, error)
ParseExpireClaimTypeResponse parses an HTTP response from a ExpireClaimTypeWithResponse call
func (ExpireClaimTypeResponse) Status ¶
func (r ExpireClaimTypeResponse) Status() string
Status returns HTTPResponse.Status
func (ExpireClaimTypeResponse) StatusCode ¶
func (r ExpireClaimTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExpireClaimTypeResponseObject ¶
type ExpireClaimTypeResponseObject interface {
VisitExpireClaimTypeResponse(w http.ResponseWriter) error
}
type FindClaim200JSONResponse ¶
type FindClaim200JSONResponse struct{ ClaimFindResponseJSONResponse }
func (FindClaim200JSONResponse) VisitFindClaimResponse ¶
func (response FindClaim200JSONResponse) VisitFindClaimResponse(w http.ResponseWriter) error
type FindClaim400JSONResponse ¶
type FindClaim400JSONResponse struct {
BadRequestErrorResponseJSONResponse
}
func (FindClaim400JSONResponse) VisitFindClaimResponse ¶
func (response FindClaim400JSONResponse) VisitFindClaimResponse(w http.ResponseWriter) error
type FindClaim500JSONResponse ¶
type FindClaim500JSONResponse struct {
InternalServerErrorJSONResponse
}
func (FindClaim500JSONResponse) VisitFindClaimResponse ¶
func (response FindClaim500JSONResponse) VisitFindClaimResponse(w http.ResponseWriter) error
type FindClaimParams ¶
type FindClaimParams struct { // ClaimID ID of claim to return. ClaimID *QueryClaimID `form:"claimID,omitempty" json:"claimID,omitempty"` // ClaimType Kind of type to return. ClaimType *QueryClaimType `form:"claimType,omitempty" json:"claimType,omitempty"` // ClaimKind Kind of claim to return. ClaimKind *QueryClaimKind `form:"claimKind,omitempty" json:"claimKind,omitempty"` // ClaimSubject ID of claim subject to return. ClaimSubject *QueryClaimSubject `form:"claimSubject,omitempty" json:"claimSubject,omitempty"` // Claimant claimant of the claim. Claimant *QueryClaimant `form:"claimant,omitempty" json:"claimant,omitempty"` // AssociatedOperation operation associated with the claim. AssociatedOperation *QueryAssociatedOperation `form:"associatedOperation,omitempty" json:"associatedOperation,omitempty"` // AssociatedClaim ID of claim that this claim references. AssociatedClaim *QueryAssociatedClaim `form:"associatedClaim,omitempty" json:"associatedClaim,omitempty"` // RegistrationStart the registration start date of the claim. RegistrationStart *QueryRegistrationStart `form:"registrationStart,omitempty" json:"registrationStart,omitempty"` // RegistrationEnd the registration end date of the claim. RegistrationEnd *QueryRegistrationEnd `form:"registrationEnd,omitempty" json:"registrationEnd,omitempty"` // ValidStart the valid start date of the claim. ValidStart *QueryValidStart `form:"validStart,omitempty" json:"validStart,omitempty"` // ValidEnd the valid end date of the claim. ValidEnd *QueryValidEnd `form:"validEnd,omitempty" json:"validEnd,omitempty"` // Data data objects to filter on Data *QueryData `form:"data,omitempty" json:"data,omitempty"` }
FindClaimParams defines parameters for FindClaim.
type FindClaimRequestObject ¶
type FindClaimRequestObject struct {
Params FindClaimParams
}
type FindClaimResponse ¶
type FindClaimResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ClaimFindResponse JSON400 *BadRequestErrorResponse JSON500 *InternalServerError }
func ParseFindClaimResponse ¶
func ParseFindClaimResponse(rsp *http.Response) (*FindClaimResponse, error)
ParseFindClaimResponse parses an HTTP response from a FindClaimWithResponse call
func (FindClaimResponse) Status ¶
func (r FindClaimResponse) Status() string
Status returns HTTPResponse.Status
func (FindClaimResponse) StatusCode ¶
func (r FindClaimResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FindClaimResponseObject ¶
type FindClaimResponseObject interface {
VisitFindClaimResponse(w http.ResponseWriter) error
}
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InternalServerError ¶
type InternalServerError struct {
Errors []Error `json:"errors"`
}
InternalServerError defines model for InternalServerError.
type InternalServerErrorJSONResponse ¶
type InternalServerErrorJSONResponse struct {
Errors []Error `json:"errors"`
}
type InvalidParamFormatError ¶
func (*InvalidParamFormatError) Error ¶
func (e *InvalidParamFormatError) Error() string
func (*InvalidParamFormatError) Unwrap ¶
func (e *InvalidParamFormatError) Unwrap() error
type Operation ¶
type Operation struct { // Claimant The id of the entity making the claim Claimant ClaimantID `json:"claimant"` Claims []Claim `json:"claims"` // OperationType The operation type OperationType OperationType `json:"operationType"` // RegistrationStart A date/time moment in ISO8601 RegistrationStart Date `json:"registrationStart"` // ValidStart A date/time moment in ISO8601 ValidStart Date `json:"validStart"` }
Operation A collection of related claims
type OperationCreateResponse ¶
type OperationCreateResponse struct { // Data The data returned after creating an operation Data *CreateOperationData `json:"data,omitempty"` }
OperationCreateResponse defines model for OperationCreateResponse.
type OperationCreateResponseJSONResponse ¶
type OperationCreateResponseJSONResponse struct { // Data The data returned after creating an operation Data *CreateOperationData `json:"data,omitempty"` }
type OperationRequest ¶
type OperationRequest struct { // Input A collection of related claims Input Operation `json:"input"` }
OperationRequest defines model for OperationRequest.
type OperationType ¶
type OperationType string
OperationType The operation type
const (
StelNaamIn OperationType = "StelNaamIn"
)
Defines values for OperationType.
type QueryAssociatedOperation ¶
type QueryAssociatedOperation = OperationID
QueryAssociatedOperation The operations id
type QueryClaimSubject ¶
type QueryClaimSubject = SubjectID
QueryClaimSubject The id of the entity that is the subject of the claim
type QueryClaimTypeRequired ¶
type QueryClaimTypeRequired = ClaimTypeName
QueryClaimTypeRequired The claim type
type QueryClaimant ¶
type QueryClaimant = ClaimantID
QueryClaimant The id of the entity making the claim
type QueryRegistrationEnd ¶
type QueryRegistrationEnd = Date
QueryRegistrationEnd A date/time moment in ISO8601
type QueryRegistrationStart ¶
type QueryRegistrationStart = Date
QueryRegistrationStart A date/time moment in ISO8601
type QueryValidEndRequired ¶
type QueryValidEndRequired = Date
QueryValidEndRequired A date/time moment in ISO8601
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RequiredHeaderError ¶
func (*RequiredHeaderError) Error ¶
func (e *RequiredHeaderError) Error() string
func (*RequiredHeaderError) Unwrap ¶
func (e *RequiredHeaderError) Unwrap() error
type RequiredParamError ¶
type RequiredParamError struct {
ParamName string
}
func (*RequiredParamError) Error ¶
func (e *RequiredParamError) Error() string
type ResetDatabase204JSONResponse ¶
type ResetDatabase204JSONResponse struct{ EmptyResponseJSONResponse }
func (ResetDatabase204JSONResponse) VisitResetDatabaseResponse ¶
func (response ResetDatabase204JSONResponse) VisitResetDatabaseResponse(w http.ResponseWriter) error
type ResetDatabase500JSONResponse ¶
type ResetDatabase500JSONResponse struct {
InternalServerErrorJSONResponse
}
func (ResetDatabase500JSONResponse) VisitResetDatabaseResponse ¶
func (response ResetDatabase500JSONResponse) VisitResetDatabaseResponse(w http.ResponseWriter) error
type ResetDatabaseRequestObject ¶
type ResetDatabaseRequestObject struct { }
type ResetDatabaseResponse ¶
type ResetDatabaseResponse struct { Body []byte HTTPResponse *http.Response JSON204 *EmptyResponse JSON500 *InternalServerError }
func ParseResetDatabaseResponse ¶
func ParseResetDatabaseResponse(rsp *http.Response) (*ResetDatabaseResponse, error)
ParseResetDatabaseResponse parses an HTTP response from a ResetDatabaseWithResponse call
func (ResetDatabaseResponse) Status ¶
func (r ResetDatabaseResponse) Status() string
Status returns HTTPResponse.Status
func (ResetDatabaseResponse) StatusCode ¶
func (r ResetDatabaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResetDatabaseResponseObject ¶
type ResetDatabaseResponseObject interface {
VisitResetDatabaseResponse(w http.ResponseWriter) error
}
type ServerInterface ¶
type ServerInterface interface { // Find claims // (GET /claim) FindClaim(w http.ResponseWriter, r *http.Request, params FindClaimParams) // Add a new claim // (POST /claim) CreateClaim(w http.ResponseWriter, r *http.Request) // expire a claim type // (DELETE /claimtype) ExpireClaimType(w http.ResponseWriter, r *http.Request, params ExpireClaimTypeParams) // add claim type // (POST /claimtype) CreateClaimType(w http.ResponseWriter, r *http.Request) // add operation // (POST /operation) CreateOperation(w http.ResponseWriter, r *http.Request) // Reset the database // (DELETE /reset) ResetDatabase(w http.ResponseWriter, r *http.Request) }
ServerInterface represents all server handlers.
func NewStrictHandler ¶
func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface
func NewStrictHandlerWithOptions ¶
func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct { Handler ServerInterface HandlerMiddlewares []MiddlewareFunc ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) }
ServerInterfaceWrapper converts contexts to parameters.
func (*ServerInterfaceWrapper) CreateClaim ¶
func (siw *ServerInterfaceWrapper) CreateClaim(w http.ResponseWriter, r *http.Request)
CreateClaim operation middleware
func (*ServerInterfaceWrapper) CreateClaimType ¶
func (siw *ServerInterfaceWrapper) CreateClaimType(w http.ResponseWriter, r *http.Request)
CreateClaimType operation middleware
func (*ServerInterfaceWrapper) CreateOperation ¶
func (siw *ServerInterfaceWrapper) CreateOperation(w http.ResponseWriter, r *http.Request)
CreateOperation operation middleware
func (*ServerInterfaceWrapper) ExpireClaimType ¶
func (siw *ServerInterfaceWrapper) ExpireClaimType(w http.ResponseWriter, r *http.Request)
ExpireClaimType operation middleware
func (*ServerInterfaceWrapper) FindClaim ¶
func (siw *ServerInterfaceWrapper) FindClaim(w http.ResponseWriter, r *http.Request)
FindClaim operation middleware
func (*ServerInterfaceWrapper) ResetDatabase ¶
func (siw *ServerInterfaceWrapper) ResetDatabase(w http.ResponseWriter, r *http.Request)
ResetDatabase operation middleware
type StrictHTTPServerOptions ¶
type StrictHTTPServerOptions struct { RequestErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) }
type StrictHandlerFunc ¶
type StrictHandlerFunc = strictnethttp.StrictHTTPHandlerFunc
type StrictMiddlewareFunc ¶
type StrictMiddlewareFunc = strictnethttp.StrictHTTPMiddlewareFunc
type StrictServerInterface ¶
type StrictServerInterface interface { // Find claims // (GET /claim) FindClaim(ctx context.Context, request FindClaimRequestObject) (FindClaimResponseObject, error) // Add a new claim // (POST /claim) CreateClaim(ctx context.Context, request CreateClaimRequestObject) (CreateClaimResponseObject, error) // expire a claim type // (DELETE /claimtype) ExpireClaimType(ctx context.Context, request ExpireClaimTypeRequestObject) (ExpireClaimTypeResponseObject, error) // add claim type // (POST /claimtype) CreateClaimType(ctx context.Context, request CreateClaimTypeRequestObject) (CreateClaimTypeResponseObject, error) // add operation // (POST /operation) CreateOperation(ctx context.Context, request CreateOperationRequestObject) (CreateOperationResponseObject, error) // Reset the database // (DELETE /reset) ResetDatabase(ctx context.Context, request ResetDatabaseRequestObject) (ResetDatabaseResponseObject, error) }
StrictServerInterface represents all server handlers.
type SubjectID ¶
type SubjectID = openapi_types.UUID
SubjectID The id of the entity that is the subject of the claim
type TooManyValuesForParamError ¶
func (*TooManyValuesForParamError) Error ¶
func (e *TooManyValuesForParamError) Error() string
type UnescapedCookieParamError ¶
func (*UnescapedCookieParamError) Error ¶
func (e *UnescapedCookieParamError) Error() string
func (*UnescapedCookieParamError) Unwrap ¶
func (e *UnescapedCookieParamError) Unwrap() error
type Unimplemented ¶
type Unimplemented struct{}
func (Unimplemented) CreateClaim ¶
func (_ Unimplemented) CreateClaim(w http.ResponseWriter, r *http.Request)
Add a new claim (POST /claim)
func (Unimplemented) CreateClaimType ¶
func (_ Unimplemented) CreateClaimType(w http.ResponseWriter, r *http.Request)
add claim type (POST /claimtype)
func (Unimplemented) CreateOperation ¶
func (_ Unimplemented) CreateOperation(w http.ResponseWriter, r *http.Request)
add operation (POST /operation)
func (Unimplemented) ExpireClaimType ¶
func (_ Unimplemented) ExpireClaimType(w http.ResponseWriter, r *http.Request, params ExpireClaimTypeParams)
expire a claim type (DELETE /claimtype)
func (Unimplemented) FindClaim ¶
func (_ Unimplemented) FindClaim(w http.ResponseWriter, r *http.Request, params FindClaimParams)
Find claims (GET /claim)
func (Unimplemented) ResetDatabase ¶
func (_ Unimplemented) ResetDatabase(w http.ResponseWriter, r *http.Request)
Reset the database (DELETE /reset)
type UnmarshalingParamError ¶
func (*UnmarshalingParamError) Error ¶
func (e *UnmarshalingParamError) Error() string
func (*UnmarshalingParamError) Unwrap ¶
func (e *UnmarshalingParamError) Unwrap() error