Skip to content

Commit

Permalink
chore(all): re-generate OpenAPI client(s) (#419)
Browse files Browse the repository at this point in the history
Co-authored-by: app-services-ci <[email protected]>
  • Loading branch information
app-services-ci and app-services-ci authored Apr 20, 2022
1 parent 456e153 commit cbcdff3
Show file tree
Hide file tree
Showing 18 changed files with 125 additions and 8 deletions.
60 changes: 58 additions & 2 deletions connectormgmt/apiv1/client/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,15 @@ paths:
schema:
$ref: '#/components/schemas/Error'
description: No matching connector type exists
"410":
content:
application/json:
examples:
"404Example":
$ref: '#/components/examples/410Example'
schema:
$ref: '#/components/schemas/Error'
description: Connector type doesn't exist anymore
"500":
content:
application/json:
Expand Down Expand Up @@ -487,7 +496,16 @@ paths:
$ref: '#/components/examples/404Example'
schema:
$ref: '#/components/schemas/Error'
description: No matching connector type exists
description: No matching connector exists
"410":
content:
application/json:
examples:
"404Example":
$ref: '#/components/examples/410Example'
schema:
$ref: '#/components/schemas/Error'
description: The requested resource doesn't exist anymore
"500":
content:
application/json:
Expand Down Expand Up @@ -552,7 +570,16 @@ paths:
$ref: '#/components/examples/404Example'
schema:
$ref: '#/components/schemas/Error'
description: No matching connector type exists
description: No matching resource exists
"410":
content:
application/json:
examples:
"404Example":
$ref: '#/components/examples/410Example'
schema:
$ref: '#/components/schemas/Error'
description: The requested resource doesn't exist anymore
"500":
content:
application/json:
Expand Down Expand Up @@ -783,6 +810,15 @@ paths:
schema:
$ref: '#/components/schemas/Error'
description: No matching connector cluster type exists
"410":
content:
application/json:
examples:
"404Example":
$ref: '#/components/examples/410Example'
schema:
$ref: '#/components/schemas/Error'
description: The requested resource doesn't exist anymore
"500":
content:
application/json:
Expand Down Expand Up @@ -890,6 +926,15 @@ paths:
schema:
$ref: '#/components/schemas/Error'
description: No matching connector cluster type exists
"410":
content:
application/json:
examples:
"404Example":
$ref: '#/components/examples/410Example'
schema:
$ref: '#/components/schemas/Error'
description: The requested resource doesn't exist anymore
"500":
content:
application/json:
Expand Down Expand Up @@ -1451,6 +1496,13 @@ components:
href: /api/connector_mgmt/v1/errors/7
code: CONNECTOR-MGMT-7
reason: The requested resource doesn't exist
"410Example":
value:
id: "410"
kind: Error
href: /api/connector_mgmt/v1/errors/25
code: CONNECTOR-MGMT-25
reason: The requested resource has been deleted
"404DeleteExample":
value:
id: "7"
Expand Down Expand Up @@ -1814,6 +1866,9 @@ components:
ConnectorNamespaceRequestMeta:
properties:
name:
description: Namespace name must match pattern `^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$`,
or it may be empty to be auto-generated.
pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$
type: string
annotations:
items:
Expand Down Expand Up @@ -1890,6 +1945,7 @@ components:
- disconnected
- ready
- deleting
- deleted
type: string
ConnectorNamespaceStatus:
properties:
Expand Down
20 changes: 20 additions & 0 deletions connectormgmt/apiv1/client/api_connector_clusters.go

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

10 changes: 10 additions & 0 deletions connectormgmt/apiv1/client/api_connector_types.go

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

20 changes: 20 additions & 0 deletions connectormgmt/apiv1/client/api_connectors.go

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

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | Pointer to **string** | | [optional]
**Name** | Pointer to **string** | Namespace name must match pattern &#x60;^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$&#x60;, or it may be empty to be auto-generated. | [optional]
**Annotations** | Pointer to [**[]ConnectorNamespaceRequestMetaAnnotations**](ConnectorNamespaceRequestMetaAnnotations.md) | | [optional]


Expand Down
2 changes: 1 addition & 1 deletion connectormgmt/apiv1/client/docs/ConnectorNamespaceMeta.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
**Owner** | Pointer to **string** | | [optional]
**CreatedAt** | Pointer to **time.Time** | | [optional]
**ModifiedAt** | Pointer to **time.Time** | | [optional]
**Name** | Pointer to **string** | | [optional]
**Name** | Pointer to **string** | Namespace name must match pattern &#x60;^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$&#x60;, or it may be empty to be auto-generated. | [optional]
**Annotations** | Pointer to [**[]ConnectorNamespaceRequestMetaAnnotations**](ConnectorNamespaceRequestMetaAnnotations.md) | | [optional]
**ResourceVersion** | Pointer to **int64** | | [optional]
**Quota** | Pointer to [**ConnectorNamespaceQuota**](ConnectorNamespaceQuota.md) | | [optional]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | Pointer to **string** | | [optional]
**Name** | Pointer to **string** | Namespace name must match pattern &#x60;^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$&#x60;, or it may be empty to be auto-generated. | [optional]
**Annotations** | Pointer to [**[]ConnectorNamespaceRequestMetaAnnotations**](ConnectorNamespaceRequestMetaAnnotations.md) | | [optional]


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **string** | |
**Name** | **string** | Namespace name must match pattern &#x60;^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$&#x60;, or it may be empty to be auto-generated. |
**Annotations** | Pointer to [**[]ConnectorNamespaceRequestMetaAnnotations**](ConnectorNamespaceRequestMetaAnnotations.md) | | [optional]
**ClusterId** | **string** | |
**Kind** | [**ConnectorNamespaceTenantKind**](ConnectorNamespaceTenantKind.md) | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | Pointer to **string** | | [optional]
**Name** | Pointer to **string** | Namespace name must match pattern &#x60;^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$&#x60;, or it may be empty to be auto-generated. | [optional]
**Annotations** | Pointer to [**[]ConnectorNamespaceRequestMetaAnnotations**](ConnectorNamespaceRequestMetaAnnotations.md) | | [optional]


Expand Down
2 changes: 2 additions & 0 deletions connectormgmt/apiv1/client/docs/ConnectorNamespaceState.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

* `DELETING` (value: `"deleting"`)

* `DELETED` (value: `"deleted"`)


[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

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

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

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

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

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

2 changes: 2 additions & 0 deletions connectormgmt/apiv1/client/model_connector_namespace_state.go

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

1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ go 1.15
require (
github.com/google/go-cmp v0.5.6 // indirect
golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5
golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f // indirect
google.golang.org/appengine v1.6.7 // indirect
)
3 changes: 2 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,9 @@ golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f h1:GGU+dLjvlC3qDwqYgL6UgRmHXhOOgns0bZu2Ty5mm6U=
golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE=
google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M=
google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
Expand Down

0 comments on commit cbcdff3

Please sign in to comment.