Documentation
¶
Overview ¶
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
Index ¶
- func Register(r *gin.Engine)
- type Controller
- func (controller *Controller) AddBackRepo(backRepo *gong_orm.BackRepoStruct, stackPath string)
- func (controller *Controller) DeleteGongBasicField(c *gin.Context)
- func (controller *Controller) DeleteGongEnum(c *gin.Context)
- func (controller *Controller) DeleteGongEnumValue(c *gin.Context)
- func (controller *Controller) DeleteGongLink(c *gin.Context)
- func (controller *Controller) DeleteGongNote(c *gin.Context)
- func (controller *Controller) DeleteGongStruct(c *gin.Context)
- func (controller *Controller) DeleteGongTimeField(c *gin.Context)
- func (controller *Controller) DeleteMetaReference(c *gin.Context)
- func (controller *Controller) DeleteModelPkg(c *gin.Context)
- func (controller *Controller) DeletePointerToGongStructField(c *gin.Context)
- func (controller *Controller) DeleteSliceOfPointerToGongStructField(c *gin.Context)
- func (controller *Controller) GetGongBasicField(c *gin.Context)
- func (controller *Controller) GetGongBasicFields(c *gin.Context)
- func (controller *Controller) GetGongEnum(c *gin.Context)
- func (controller *Controller) GetGongEnumValue(c *gin.Context)
- func (controller *Controller) GetGongEnumValues(c *gin.Context)
- func (controller *Controller) GetGongEnums(c *gin.Context)
- func (controller *Controller) GetGongLink(c *gin.Context)
- func (controller *Controller) GetGongLinks(c *gin.Context)
- func (controller *Controller) GetGongNote(c *gin.Context)
- func (controller *Controller) GetGongNotes(c *gin.Context)
- func (controller *Controller) GetGongStruct(c *gin.Context)
- func (controller *Controller) GetGongStructs(c *gin.Context)
- func (controller *Controller) GetGongTimeField(c *gin.Context)
- func (controller *Controller) GetGongTimeFields(c *gin.Context)
- func (controller *Controller) GetLastCommitFromBackNb(c *gin.Context)
- func (controller *Controller) GetLastPushFromFrontNb(c *gin.Context)
- func (controller *Controller) GetMetaReference(c *gin.Context)
- func (controller *Controller) GetMetaReferences(c *gin.Context)
- func (controller *Controller) GetModelPkg(c *gin.Context)
- func (controller *Controller) GetModelPkgs(c *gin.Context)
- func (controller *Controller) GetPointerToGongStructField(c *gin.Context)
- func (controller *Controller) GetPointerToGongStructFields(c *gin.Context)
- func (controller *Controller) GetSliceOfPointerToGongStructField(c *gin.Context)
- func (controller *Controller) GetSliceOfPointerToGongStructFields(c *gin.Context)
- func (controller *Controller) PostGongBasicField(c *gin.Context)
- func (controller *Controller) PostGongEnum(c *gin.Context)
- func (controller *Controller) PostGongEnumValue(c *gin.Context)
- func (controller *Controller) PostGongLink(c *gin.Context)
- func (controller *Controller) PostGongNote(c *gin.Context)
- func (controller *Controller) PostGongStruct(c *gin.Context)
- func (controller *Controller) PostGongTimeField(c *gin.Context)
- func (controller *Controller) PostMetaReference(c *gin.Context)
- func (controller *Controller) PostModelPkg(c *gin.Context)
- func (controller *Controller) PostPointerToGongStructField(c *gin.Context)
- func (controller *Controller) PostSliceOfPointerToGongStructField(c *gin.Context)
- func (controller *Controller) UpdateGongBasicField(c *gin.Context)
- func (controller *Controller) UpdateGongEnum(c *gin.Context)
- func (controller *Controller) UpdateGongEnumValue(c *gin.Context)
- func (controller *Controller) UpdateGongLink(c *gin.Context)
- func (controller *Controller) UpdateGongNote(c *gin.Context)
- func (controller *Controller) UpdateGongStruct(c *gin.Context)
- func (controller *Controller) UpdateGongTimeField(c *gin.Context)
- func (controller *Controller) UpdateMetaReference(c *gin.Context)
- func (controller *Controller) UpdateModelPkg(c *gin.Context)
- func (controller *Controller) UpdatePointerToGongStructField(c *gin.Context)
- func (controller *Controller) UpdateSliceOfPointerToGongStructField(c *gin.Context)
- type GenericError
- type GongBasicFieldID
- type GongBasicFieldInput
- type GongEnumID
- type GongEnumInput
- type GongEnumValueID
- type GongEnumValueInput
- type GongLinkID
- type GongLinkInput
- type GongNoteID
- type GongNoteInput
- type GongStructID
- type GongStructInput
- type GongTimeFieldID
- type GongTimeFieldInput
- type MetaReferenceID
- type MetaReferenceInput
- type ModelPkgID
- type ModelPkgInput
- type PointerToGongStructFieldID
- type PointerToGongStructFieldInput
- type SliceOfPointerToGongStructFieldID
- type SliceOfPointerToGongStructFieldInput
- type ValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct {
// Map_BackRepos is the map to the backRepo instance according to the stack instance path
Map_BackRepos map[string]*gong_orm.BackRepoStruct
// contains filtered or unexported fields
}
A Controller is the handler of all API REST calls matching the stack model It forwards API requests to the stack instance identified by the Name parameters in the request the stack instance is the BackRepo instance
func GetController ¶
func GetController() *Controller
func (*Controller) AddBackRepo ¶
func (controller *Controller) AddBackRepo(backRepo *gong_orm.BackRepoStruct, stackPath string)
func (*Controller) DeleteGongBasicField ¶
func (controller *Controller) DeleteGongBasicField(c *gin.Context)
DeleteGongBasicField
swagger:route DELETE /gongbasicfields/{ID} gongbasicfields deleteGongBasicField
Delete a gongbasicfield ¶
default: genericError
200: gongbasicfieldDBResponse
func (*Controller) DeleteGongEnum ¶
func (controller *Controller) DeleteGongEnum(c *gin.Context)
DeleteGongEnum
swagger:route DELETE /gongenums/{ID} gongenums deleteGongEnum
Delete a gongenum ¶
default: genericError
200: gongenumDBResponse
func (*Controller) DeleteGongEnumValue ¶
func (controller *Controller) DeleteGongEnumValue(c *gin.Context)
DeleteGongEnumValue
swagger:route DELETE /gongenumvalues/{ID} gongenumvalues deleteGongEnumValue
Delete a gongenumvalue ¶
default: genericError
200: gongenumvalueDBResponse
func (*Controller) DeleteGongLink ¶
func (controller *Controller) DeleteGongLink(c *gin.Context)
DeleteGongLink
swagger:route DELETE /gonglinks/{ID} gonglinks deleteGongLink
Delete a gonglink ¶
default: genericError
200: gonglinkDBResponse
func (*Controller) DeleteGongNote ¶
func (controller *Controller) DeleteGongNote(c *gin.Context)
DeleteGongNote
swagger:route DELETE /gongnotes/{ID} gongnotes deleteGongNote
Delete a gongnote ¶
default: genericError
200: gongnoteDBResponse
func (*Controller) DeleteGongStruct ¶
func (controller *Controller) DeleteGongStruct(c *gin.Context)
DeleteGongStruct
swagger:route DELETE /gongstructs/{ID} gongstructs deleteGongStruct
Delete a gongstruct ¶
default: genericError
200: gongstructDBResponse
func (*Controller) DeleteGongTimeField ¶
func (controller *Controller) DeleteGongTimeField(c *gin.Context)
DeleteGongTimeField
swagger:route DELETE /gongtimefields/{ID} gongtimefields deleteGongTimeField
Delete a gongtimefield ¶
default: genericError
200: gongtimefieldDBResponse
func (*Controller) DeleteMetaReference ¶
func (controller *Controller) DeleteMetaReference(c *gin.Context)
DeleteMetaReference
swagger:route DELETE /metareferences/{ID} metareferences deleteMetaReference
Delete a metareference ¶
default: genericError
200: metareferenceDBResponse
func (*Controller) DeleteModelPkg ¶
func (controller *Controller) DeleteModelPkg(c *gin.Context)
DeleteModelPkg
swagger:route DELETE /modelpkgs/{ID} modelpkgs deleteModelPkg
Delete a modelpkg ¶
default: genericError
200: modelpkgDBResponse
func (*Controller) DeletePointerToGongStructField ¶
func (controller *Controller) DeletePointerToGongStructField(c *gin.Context)
DeletePointerToGongStructField
swagger:route DELETE /pointertogongstructfields/{ID} pointertogongstructfields deletePointerToGongStructField
Delete a pointertogongstructfield ¶
default: genericError
200: pointertogongstructfieldDBResponse
func (*Controller) DeleteSliceOfPointerToGongStructField ¶
func (controller *Controller) DeleteSliceOfPointerToGongStructField(c *gin.Context)
DeleteSliceOfPointerToGongStructField
swagger:route DELETE /sliceofpointertogongstructfields/{ID} sliceofpointertogongstructfields deleteSliceOfPointerToGongStructField
Delete a sliceofpointertogongstructfield ¶
default: genericError
200: sliceofpointertogongstructfieldDBResponse
func (*Controller) GetGongBasicField ¶
func (controller *Controller) GetGongBasicField(c *gin.Context)
GetGongBasicField
swagger:route GET /gongbasicfields/{ID} gongbasicfields getGongBasicField
Gets the details for a gongbasicfield.
Responses: default: genericError
200: gongbasicfieldDBResponse
func (*Controller) GetGongBasicFields ¶
func (controller *Controller) GetGongBasicFields(c *gin.Context)
GetGongBasicFields
swagger:route GET /gongbasicfields gongbasicfields getGongBasicFields
Get all gongbasicfields ¶
Responses: default: genericError
200: gongbasicfieldDBResponse
func (*Controller) GetGongEnum ¶
func (controller *Controller) GetGongEnum(c *gin.Context)
GetGongEnum
swagger:route GET /gongenums/{ID} gongenums getGongEnum
Gets the details for a gongenum.
Responses: default: genericError
200: gongenumDBResponse
func (*Controller) GetGongEnumValue ¶
func (controller *Controller) GetGongEnumValue(c *gin.Context)
GetGongEnumValue
swagger:route GET /gongenumvalues/{ID} gongenumvalues getGongEnumValue
Gets the details for a gongenumvalue.
Responses: default: genericError
200: gongenumvalueDBResponse
func (*Controller) GetGongEnumValues ¶
func (controller *Controller) GetGongEnumValues(c *gin.Context)
GetGongEnumValues
swagger:route GET /gongenumvalues gongenumvalues getGongEnumValues
Get all gongenumvalues ¶
Responses: default: genericError
200: gongenumvalueDBResponse
func (*Controller) GetGongEnums ¶
func (controller *Controller) GetGongEnums(c *gin.Context)
GetGongEnums
swagger:route GET /gongenums gongenums getGongEnums
Get all gongenums ¶
Responses: default: genericError
200: gongenumDBResponse
func (*Controller) GetGongLink ¶
func (controller *Controller) GetGongLink(c *gin.Context)
GetGongLink
swagger:route GET /gonglinks/{ID} gonglinks getGongLink
Gets the details for a gonglink.
Responses: default: genericError
200: gonglinkDBResponse
func (*Controller) GetGongLinks ¶
func (controller *Controller) GetGongLinks(c *gin.Context)
GetGongLinks
swagger:route GET /gonglinks gonglinks getGongLinks
Get all gonglinks ¶
Responses: default: genericError
200: gonglinkDBResponse
func (*Controller) GetGongNote ¶
func (controller *Controller) GetGongNote(c *gin.Context)
GetGongNote
swagger:route GET /gongnotes/{ID} gongnotes getGongNote
Gets the details for a gongnote.
Responses: default: genericError
200: gongnoteDBResponse
func (*Controller) GetGongNotes ¶
func (controller *Controller) GetGongNotes(c *gin.Context)
GetGongNotes
swagger:route GET /gongnotes gongnotes getGongNotes
Get all gongnotes ¶
Responses: default: genericError
200: gongnoteDBResponse
func (*Controller) GetGongStruct ¶
func (controller *Controller) GetGongStruct(c *gin.Context)
GetGongStruct
swagger:route GET /gongstructs/{ID} gongstructs getGongStruct
Gets the details for a gongstruct.
Responses: default: genericError
200: gongstructDBResponse
func (*Controller) GetGongStructs ¶
func (controller *Controller) GetGongStructs(c *gin.Context)
GetGongStructs
swagger:route GET /gongstructs gongstructs getGongStructs
Get all gongstructs ¶
Responses: default: genericError
200: gongstructDBResponse
func (*Controller) GetGongTimeField ¶
func (controller *Controller) GetGongTimeField(c *gin.Context)
GetGongTimeField
swagger:route GET /gongtimefields/{ID} gongtimefields getGongTimeField
Gets the details for a gongtimefield.
Responses: default: genericError
200: gongtimefieldDBResponse
func (*Controller) GetGongTimeFields ¶
func (controller *Controller) GetGongTimeFields(c *gin.Context)
GetGongTimeFields
swagger:route GET /gongtimefields gongtimefields getGongTimeFields
Get all gongtimefields ¶
Responses: default: genericError
200: gongtimefieldDBResponse
func (*Controller) GetLastCommitFromBackNb ¶
func (controller *Controller) GetLastCommitFromBackNb(c *gin.Context)
swagger:route GET /commitfrombacknb backrepo GetLastCommitFromBackNb
func (*Controller) GetLastPushFromFrontNb ¶
func (controller *Controller) GetLastPushFromFrontNb(c *gin.Context)
swagger:route GET /pushfromfrontnb backrepo GetLastPushFromFrontNb
func (*Controller) GetMetaReference ¶
func (controller *Controller) GetMetaReference(c *gin.Context)
GetMetaReference
swagger:route GET /metareferences/{ID} metareferences getMetaReference
Gets the details for a metareference.
Responses: default: genericError
200: metareferenceDBResponse
func (*Controller) GetMetaReferences ¶
func (controller *Controller) GetMetaReferences(c *gin.Context)
GetMetaReferences
swagger:route GET /metareferences metareferences getMetaReferences
Get all metareferences ¶
Responses: default: genericError
200: metareferenceDBResponse
func (*Controller) GetModelPkg ¶
func (controller *Controller) GetModelPkg(c *gin.Context)
GetModelPkg
swagger:route GET /modelpkgs/{ID} modelpkgs getModelPkg
Gets the details for a modelpkg.
Responses: default: genericError
200: modelpkgDBResponse
func (*Controller) GetModelPkgs ¶
func (controller *Controller) GetModelPkgs(c *gin.Context)
GetModelPkgs
swagger:route GET /modelpkgs modelpkgs getModelPkgs
Get all modelpkgs ¶
Responses: default: genericError
200: modelpkgDBResponse
func (*Controller) GetPointerToGongStructField ¶
func (controller *Controller) GetPointerToGongStructField(c *gin.Context)
GetPointerToGongStructField
swagger:route GET /pointertogongstructfields/{ID} pointertogongstructfields getPointerToGongStructField
Gets the details for a pointertogongstructfield.
Responses: default: genericError
200: pointertogongstructfieldDBResponse
func (*Controller) GetPointerToGongStructFields ¶
func (controller *Controller) GetPointerToGongStructFields(c *gin.Context)
GetPointerToGongStructFields
swagger:route GET /pointertogongstructfields pointertogongstructfields getPointerToGongStructFields
Get all pointertogongstructfields ¶
Responses: default: genericError
200: pointertogongstructfieldDBResponse
func (*Controller) GetSliceOfPointerToGongStructField ¶
func (controller *Controller) GetSliceOfPointerToGongStructField(c *gin.Context)
GetSliceOfPointerToGongStructField
swagger:route GET /sliceofpointertogongstructfields/{ID} sliceofpointertogongstructfields getSliceOfPointerToGongStructField
Gets the details for a sliceofpointertogongstructfield.
Responses: default: genericError
200: sliceofpointertogongstructfieldDBResponse
func (*Controller) GetSliceOfPointerToGongStructFields ¶
func (controller *Controller) GetSliceOfPointerToGongStructFields(c *gin.Context)
GetSliceOfPointerToGongStructFields
swagger:route GET /sliceofpointertogongstructfields sliceofpointertogongstructfields getSliceOfPointerToGongStructFields
Get all sliceofpointertogongstructfields ¶
Responses: default: genericError
200: sliceofpointertogongstructfieldDBResponse
func (*Controller) PostGongBasicField ¶
func (controller *Controller) PostGongBasicField(c *gin.Context)
PostGongBasicField
swagger:route POST /gongbasicfields gongbasicfields postGongBasicField
Creates a gongbasicfield
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) PostGongEnum ¶
func (controller *Controller) PostGongEnum(c *gin.Context)
PostGongEnum
swagger:route POST /gongenums gongenums postGongEnum
Creates a gongenum
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) PostGongEnumValue ¶
func (controller *Controller) PostGongEnumValue(c *gin.Context)
PostGongEnumValue
swagger:route POST /gongenumvalues gongenumvalues postGongEnumValue
Creates a gongenumvalue
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) PostGongLink ¶
func (controller *Controller) PostGongLink(c *gin.Context)
PostGongLink
swagger:route POST /gonglinks gonglinks postGongLink
Creates a gonglink
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) PostGongNote ¶
func (controller *Controller) PostGongNote(c *gin.Context)
PostGongNote
swagger:route POST /gongnotes gongnotes postGongNote
Creates a gongnote
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) PostGongStruct ¶
func (controller *Controller) PostGongStruct(c *gin.Context)
PostGongStruct
swagger:route POST /gongstructs gongstructs postGongStruct
Creates a gongstruct
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) PostGongTimeField ¶
func (controller *Controller) PostGongTimeField(c *gin.Context)
PostGongTimeField
swagger:route POST /gongtimefields gongtimefields postGongTimeField
Creates a gongtimefield
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) PostMetaReference ¶
func (controller *Controller) PostMetaReference(c *gin.Context)
PostMetaReference
swagger:route POST /metareferences metareferences postMetaReference
Creates a metareference
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) PostModelPkg ¶
func (controller *Controller) PostModelPkg(c *gin.Context)
PostModelPkg
swagger:route POST /modelpkgs modelpkgs postModelPkg
Creates a modelpkg
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) PostPointerToGongStructField ¶
func (controller *Controller) PostPointerToGongStructField(c *gin.Context)
PostPointerToGongStructField
swagger:route POST /pointertogongstructfields pointertogongstructfields postPointerToGongStructField
Creates a pointertogongstructfield
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) PostSliceOfPointerToGongStructField ¶
func (controller *Controller) PostSliceOfPointerToGongStructField(c *gin.Context)
PostSliceOfPointerToGongStructField
swagger:route POST /sliceofpointertogongstructfields sliceofpointertogongstructfields postSliceOfPointerToGongStructField
Creates a sliceofpointertogongstructfield
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) UpdateGongBasicField ¶
func (controller *Controller) UpdateGongBasicField(c *gin.Context)
UpdateGongBasicField
swagger:route PATCH /gongbasicfields/{ID} gongbasicfields updateGongBasicField
Update a gongbasicfield ¶
Responses: default: genericError
200: gongbasicfieldDBResponse
func (*Controller) UpdateGongEnum ¶
func (controller *Controller) UpdateGongEnum(c *gin.Context)
UpdateGongEnum
swagger:route PATCH /gongenums/{ID} gongenums updateGongEnum
Update a gongenum ¶
Responses: default: genericError
200: gongenumDBResponse
func (*Controller) UpdateGongEnumValue ¶
func (controller *Controller) UpdateGongEnumValue(c *gin.Context)
UpdateGongEnumValue
swagger:route PATCH /gongenumvalues/{ID} gongenumvalues updateGongEnumValue
Update a gongenumvalue ¶
Responses: default: genericError
200: gongenumvalueDBResponse
func (*Controller) UpdateGongLink ¶
func (controller *Controller) UpdateGongLink(c *gin.Context)
UpdateGongLink
swagger:route PATCH /gonglinks/{ID} gonglinks updateGongLink
Update a gonglink ¶
Responses: default: genericError
200: gonglinkDBResponse
func (*Controller) UpdateGongNote ¶
func (controller *Controller) UpdateGongNote(c *gin.Context)
UpdateGongNote
swagger:route PATCH /gongnotes/{ID} gongnotes updateGongNote
Update a gongnote ¶
Responses: default: genericError
200: gongnoteDBResponse
func (*Controller) UpdateGongStruct ¶
func (controller *Controller) UpdateGongStruct(c *gin.Context)
UpdateGongStruct
swagger:route PATCH /gongstructs/{ID} gongstructs updateGongStruct
Update a gongstruct ¶
Responses: default: genericError
200: gongstructDBResponse
func (*Controller) UpdateGongTimeField ¶
func (controller *Controller) UpdateGongTimeField(c *gin.Context)
UpdateGongTimeField
swagger:route PATCH /gongtimefields/{ID} gongtimefields updateGongTimeField
Update a gongtimefield ¶
Responses: default: genericError
200: gongtimefieldDBResponse
func (*Controller) UpdateMetaReference ¶
func (controller *Controller) UpdateMetaReference(c *gin.Context)
UpdateMetaReference
swagger:route PATCH /metareferences/{ID} metareferences updateMetaReference
Update a metareference ¶
Responses: default: genericError
200: metareferenceDBResponse
func (*Controller) UpdateModelPkg ¶
func (controller *Controller) UpdateModelPkg(c *gin.Context)
UpdateModelPkg
swagger:route PATCH /modelpkgs/{ID} modelpkgs updateModelPkg
Update a modelpkg ¶
Responses: default: genericError
200: modelpkgDBResponse
func (*Controller) UpdatePointerToGongStructField ¶
func (controller *Controller) UpdatePointerToGongStructField(c *gin.Context)
UpdatePointerToGongStructField
swagger:route PATCH /pointertogongstructfields/{ID} pointertogongstructfields updatePointerToGongStructField
Update a pointertogongstructfield ¶
Responses: default: genericError
200: pointertogongstructfieldDBResponse
func (*Controller) UpdateSliceOfPointerToGongStructField ¶
func (controller *Controller) UpdateSliceOfPointerToGongStructField(c *gin.Context)
UpdateSliceOfPointerToGongStructField
swagger:route PATCH /sliceofpointertogongstructfields/{ID} sliceofpointertogongstructfields updateSliceOfPointerToGongStructField
Update a sliceofpointertogongstructfield ¶
Responses: default: genericError
200: sliceofpointertogongstructfieldDBResponse
type GenericError ¶
type GenericError struct {
// in: body
Body struct {
Code int32 `json:"code"`
Message string `json:"message"`
} `json:"body"`
}
A GenericError is the default error message that is generated. For certain status codes there are more appropriate error structures.
swagger:response genericError
type GongBasicFieldID ¶
type GongBasicFieldID struct {
// The ID of the order
//
// in: path
// required: true
ID int64
}
An GongBasicFieldID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getGongBasicField updateGongBasicField deleteGongBasicField
type GongBasicFieldInput ¶
type GongBasicFieldInput struct {
// The GongBasicField to submit or modify
// in: body
GongBasicField *orm.GongBasicFieldAPI
}
GongBasicFieldInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postGongBasicField updateGongBasicField
type GongEnumID ¶
type GongEnumID struct {
// The ID of the order
//
// in: path
// required: true
ID int64
}
An GongEnumID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getGongEnum updateGongEnum deleteGongEnum
type GongEnumInput ¶
type GongEnumInput struct {
// The GongEnum to submit or modify
// in: body
GongEnum *orm.GongEnumAPI
}
GongEnumInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postGongEnum updateGongEnum
type GongEnumValueID ¶
type GongEnumValueID struct {
// The ID of the order
//
// in: path
// required: true
ID int64
}
An GongEnumValueID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getGongEnumValue updateGongEnumValue deleteGongEnumValue
type GongEnumValueInput ¶
type GongEnumValueInput struct {
// The GongEnumValue to submit or modify
// in: body
GongEnumValue *orm.GongEnumValueAPI
}
GongEnumValueInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postGongEnumValue updateGongEnumValue
type GongLinkID ¶
type GongLinkID struct {
// The ID of the order
//
// in: path
// required: true
ID int64
}
An GongLinkID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getGongLink updateGongLink deleteGongLink
type GongLinkInput ¶
type GongLinkInput struct {
// The GongLink to submit or modify
// in: body
GongLink *orm.GongLinkAPI
}
GongLinkInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postGongLink updateGongLink
type GongNoteID ¶
type GongNoteID struct {
// The ID of the order
//
// in: path
// required: true
ID int64
}
An GongNoteID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getGongNote updateGongNote deleteGongNote
type GongNoteInput ¶
type GongNoteInput struct {
// The GongNote to submit or modify
// in: body
GongNote *orm.GongNoteAPI
}
GongNoteInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postGongNote updateGongNote
type GongStructID ¶
type GongStructID struct {
// The ID of the order
//
// in: path
// required: true
ID int64
}
An GongStructID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getGongStruct updateGongStruct deleteGongStruct
type GongStructInput ¶
type GongStructInput struct {
// The GongStruct to submit or modify
// in: body
GongStruct *orm.GongStructAPI
}
GongStructInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postGongStruct updateGongStruct
type GongTimeFieldID ¶
type GongTimeFieldID struct {
// The ID of the order
//
// in: path
// required: true
ID int64
}
An GongTimeFieldID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getGongTimeField updateGongTimeField deleteGongTimeField
type GongTimeFieldInput ¶
type GongTimeFieldInput struct {
// The GongTimeField to submit or modify
// in: body
GongTimeField *orm.GongTimeFieldAPI
}
GongTimeFieldInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postGongTimeField updateGongTimeField
type MetaReferenceID ¶
type MetaReferenceID struct {
// The ID of the order
//
// in: path
// required: true
ID int64
}
An MetaReferenceID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getMetaReference updateMetaReference deleteMetaReference
type MetaReferenceInput ¶
type MetaReferenceInput struct {
// The MetaReference to submit or modify
// in: body
MetaReference *orm.MetaReferenceAPI
}
MetaReferenceInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postMetaReference updateMetaReference
type ModelPkgID ¶
type ModelPkgID struct {
// The ID of the order
//
// in: path
// required: true
ID int64
}
An ModelPkgID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getModelPkg updateModelPkg deleteModelPkg
type ModelPkgInput ¶
type ModelPkgInput struct {
// The ModelPkg to submit or modify
// in: body
ModelPkg *orm.ModelPkgAPI
}
ModelPkgInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postModelPkg updateModelPkg
type PointerToGongStructFieldID ¶
type PointerToGongStructFieldID struct {
// The ID of the order
//
// in: path
// required: true
ID int64
}
An PointerToGongStructFieldID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getPointerToGongStructField updatePointerToGongStructField deletePointerToGongStructField
type PointerToGongStructFieldInput ¶
type PointerToGongStructFieldInput struct {
// The PointerToGongStructField to submit or modify
// in: body
PointerToGongStructField *orm.PointerToGongStructFieldAPI
}
PointerToGongStructFieldInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postPointerToGongStructField updatePointerToGongStructField
type SliceOfPointerToGongStructFieldID ¶
type SliceOfPointerToGongStructFieldID struct {
// The ID of the order
//
// in: path
// required: true
ID int64
}
An SliceOfPointerToGongStructFieldID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getSliceOfPointerToGongStructField updateSliceOfPointerToGongStructField deleteSliceOfPointerToGongStructField
type SliceOfPointerToGongStructFieldInput ¶
type SliceOfPointerToGongStructFieldInput struct {
// The SliceOfPointerToGongStructField to submit or modify
// in: body
SliceOfPointerToGongStructField *orm.SliceOfPointerToGongStructFieldAPI
}
SliceOfPointerToGongStructFieldInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postSliceOfPointerToGongStructField updateSliceOfPointerToGongStructField
type ValidationError ¶
type ValidationError struct {
// in: body
Body struct {
Code int32 `json:"code"`
Message string `json:"message"`
Field string `json:"field"`
} `json:"body"`
}
A ValidationError is an that is generated for validation failures. It has the same fields as a generic error but adds a Field property.
swagger:response validationError