Run go generate
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
parent
e775c9c11d
commit
f0332b7578
3 changed files with 5 additions and 5 deletions
|
|
@ -337,13 +337,13 @@ paths:
|
|||
name: enterpriseID
|
||||
required: true
|
||||
type: string
|
||||
- description: Parameters used to update the enterprise.
|
||||
- description: Parameters used when updating the enterprise.
|
||||
in: body
|
||||
name: Body
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/UpdateEntityParams'
|
||||
description: Parameters used to update the enterprise.
|
||||
description: Parameters used when updating the enterprise.
|
||||
type: object
|
||||
responses:
|
||||
"200":
|
||||
|
|
@ -354,7 +354,7 @@ paths:
|
|||
description: APIErrorResponse
|
||||
schema:
|
||||
$ref: '#/definitions/APIErrorResponse'
|
||||
summary: Update an enterprise with the given parameters.
|
||||
summary: Update enterprise with the given parameters.
|
||||
tags:
|
||||
- enterprises
|
||||
/enterprises/{enterpriseID}/instances:
|
||||
|
|
|
|||
|
|
@ -384,7 +384,7 @@ func (a *Client) ListEnterprises(params *ListEnterprisesParams, authInfo runtime
|
|||
}
|
||||
|
||||
/*
|
||||
UpdateEnterprise updates an enterprise with the given parameters
|
||||
UpdateEnterprise updates enterprise with the given parameters
|
||||
*/
|
||||
func (a *Client) UpdateEnterprise(params *UpdateEnterpriseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEnterpriseOK, error) {
|
||||
// TODO: Validate the params before sending
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ type UpdateEnterpriseParams struct {
|
|||
|
||||
/* Body.
|
||||
|
||||
Parameters used to update the enterprise.
|
||||
Parameters used when updating the enterprise.
|
||||
*/
|
||||
Body garm_params.UpdateEntityParams
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue