# Functions
NewCaseMgmtAPI creates a new CaseMgmt instance.
NewCreateCase creates a new http.Handler for the create case operation.
NewCreateCaseDefault creates CreateCaseDefault with default headers values.
NewCreateCaseOK creates CreateCaseOK with default headers values.
NewCreateCaseParams creates a new CreateCaseParams object
There are no default values defined in the spec.
NewExecuteAction creates a new http.Handler for the execute action operation.
NewExecuteActionDefault creates ExecuteActionDefault with default headers values.
NewExecuteActionOK creates ExecuteActionOK with default headers values.
NewExecuteActionParams creates a new ExecuteActionParams object
There are no default values defined in the spec.
NewFindCase creates a new http.Handler for the find case operation.
NewFindCaseDefault creates FindCaseDefault with default headers values.
NewFindCaseOK creates FindCaseOK with default headers values.
NewFindCaseParams creates a new FindCaseParams object
There are no default values defined in the spec.
NewFindCases creates a new http.Handler for the find cases operation.
NewFindCasesDefault creates FindCasesDefault with default headers values.
NewFindCasesOK creates FindCasesOK with default headers values.
NewFindCasesParams creates a new FindCasesParams object
There are no default values defined in the spec.
NewGetActionRecords creates a new http.Handler for the get action records operation.
NewGetActionRecordsDefault creates GetActionRecordsDefault with default headers values.
NewGetActionRecordsOK creates GetActionRecordsOK with default headers values.
NewGetActionRecordsParams creates a new GetActionRecordsParams object
There are no default values defined in the spec.
# Constants
CreateCaseOKCode is the HTTP code returned for type CreateCaseOK.
ExecuteActionOKCode is the HTTP code returned for type ExecuteActionOK.
FindCaseOKCode is the HTTP code returned for type FindCaseOK.
FindCasesOKCode is the HTTP code returned for type FindCasesOK.
GetActionRecordsOKCode is the HTTP code returned for type GetActionRecordsOK.
# Structs
CaseMgmtAPI the purpose of this application is to provide an application
that is using plain go code to define an API
This should demonstrate all the possible comment annotations
that are available to turn go code into a fully compliant swagger 2.0 spec
*/.
CreateCase swagger:route PUT /case createCase
# Create a new case
This will show all available cases
*/.
CreateCaseDefault create case default
swagger:response createCaseDefault
*/.
CreateCaseOK UUIDResponse
swagger:response createCaseOK
*/.
CreateCaseParams contains all the bound params for the create case operation typically these are obtained from a http.Request
swagger:parameters createCase.
CreateCaseURL generates an URL for the create case operation.
ExecuteAction swagger:route POST /case/{id} executeAction
# Execute an action on the given case
This will execute a case
*/.
ExecuteActionDefault execute action default
swagger:response executeActionDefault
*/.
ExecuteActionOK UUIDResponse
swagger:response executeActionOK
*/.
ExecuteActionParams contains all the bound params for the execute action operation typically these are obtained from a http.Request
swagger:parameters executeAction.
ExecuteActionURL generates an URL for the execute action operation.
FindCase swagger:route GET /case/{id} findCase
# Find a given case
This will show the requested case
*/.
FindCaseDefault find case default
swagger:response findCaseDefault
*/.
FindCaseOK CaseRecord
swagger:response findCaseOK
*/.
FindCaseParams contains all the bound params for the find case operation typically these are obtained from a http.Request
swagger:parameters findCase.
FindCases swagger:route GET /case findCases
# Find all cases for the user
This will show all available cases
*/.
FindCasesDefault find cases default
swagger:response findCasesDefault
*/.
FindCasesOK CaseRecord
swagger:response findCasesOK
*/.
FindCasesParams contains all the bound params for the find cases operation typically these are obtained from a http.Request
swagger:parameters findCases.
FindCasesURL generates an URL for the find cases operation.
FindCaseURL generates an URL for the find case operation.
GetActionRecords swagger:route GET /case/{id}/actions getActionRecords
# Find the action records for a given case
This will retrieve actions
*/.
GetActionRecordsDefault get action records default
swagger:response getActionRecordsDefault
*/.
GetActionRecordsOK CaseAction
swagger:response getActionRecordsOK
*/.
GetActionRecordsParams contains all the bound params for the get action records operation typically these are obtained from a http.Request
swagger:parameters getActionRecords.
GetActionRecordsURL generates an URL for the get action records operation.
# Interfaces
CreateCaseHandler interface for that can handle valid create case params.
ExecuteActionHandler interface for that can handle valid execute action params.
FindCaseHandler interface for that can handle valid find case params.
FindCasesHandler interface for that can handle valid find cases params.
GetActionRecordsHandler interface for that can handle valid get action records params.
# Type aliases
CreateCaseHandlerFunc turns a function with the right signature into a create case handler.
ExecuteActionHandlerFunc turns a function with the right signature into a execute action handler.
FindCaseHandlerFunc turns a function with the right signature into a find case handler.
FindCasesHandlerFunc turns a function with the right signature into a find cases handler.
GetActionRecordsHandlerFunc turns a function with the right signature into a get action records handler.