Skip to content

Commit

Permalink
Merge pull request #7 from mulesoft-consulting/dev
Browse files Browse the repository at this point in the history
Fix VPS update operation
  • Loading branch information
soufi authored Mar 23, 2021
2 parents d6714d3 + a1a3cdc commit 0215416
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 16 deletions.
1 change: 0 additions & 1 deletion vpc/.openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.gitignore
.openapi-generator-ignore
.travis.yml
README.md
api/openapi.yaml
Expand Down
18 changes: 15 additions & 3 deletions vpc/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,12 @@ paths:
schema:
$ref: '#/components/schemas/inline_response_400'
description: Bad request response
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/vpc'
description: Success response
summary: Update the VPC configuration
components:
responses:
Expand All @@ -171,7 +177,7 @@ components:
schema:
$ref: '#/components/schemas/inline_response_400'
description: Bad request response
SuccessGetVpc:
SuccessGetVPC:
content:
application/json:
schema:
Expand All @@ -183,9 +189,15 @@ components:
schema:
$ref: '#/components/schemas/vpc'
description: Success response
SuccessDeleteVpc:
SuccessPutVPC:
content:
application/json:
schema:
$ref: '#/components/schemas/vpc'
description: Success response
SuccessDeleteVPC:
description: Success response
SuccessListVpcs:
SuccessListVPCs:
content:
application/json:
schema:
Expand Down
32 changes: 22 additions & 10 deletions vpc/api_default.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions vpc/docs/DefaultApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ Name | Type | Description | Notes

## OrganizationsOrgIdVpcsVpcIdPut

> OrganizationsOrgIdVpcsVpcIdPut(ctx, orgId, vpcId).VpcCore(vpcCore).Execute()
> Vpc OrganizationsOrgIdVpcsVpcIdPut(ctx, orgId, vpcId).VpcCore(vpcCore).Execute()
Update the VPC configuration

Expand Down Expand Up @@ -330,6 +330,8 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `DefaultApi.OrganizationsOrgIdVpcsVpcIdPut``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `OrganizationsOrgIdVpcsVpcIdPut`: Vpc
fmt.Fprintf(os.Stdout, "Response from `DefaultApi.OrganizationsOrgIdVpcsVpcIdPut`: %v\n", resp)
}
```

Expand All @@ -355,7 +357,7 @@ Name | Type | Description | Notes

### Return type

(empty response body)
[**Vpc**](Vpc.md)

### Authorization

Expand Down

0 comments on commit 0215416

Please sign in to comment.