Skip to content

Commit

Permalink
Connectors patch (#359)
Browse files Browse the repository at this point in the history
* fix: add generate script to match other sdks

* fix: reorder patch requests for connectors
  • Loading branch information
wtrocki authored Feb 4, 2022
1 parent 8409881 commit abc63d5
Show file tree
Hide file tree
Showing 9 changed files with 1,406 additions and 24 deletions.
11 changes: 5 additions & 6 deletions .openapi/connector_mgmt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -351,18 +351,17 @@ paths:
requestBody:
description: Data to patch the connector with
content:
application/json:
schema:
anyOf:
- $ref: "#/components/schemas/ConnectorRequest"
- type: object
application/merge-patch+json:
schema:
$ref: "#/components/schemas/ConnectorRequest"
type: object
application/json-patch+json:
schema:
description: A JSON Patch, RFC 6902 - https://tools.ietf.org/html/rfc6902
type: object
application/json:
schema:
$ref: "#/components/schemas/ConnectorRequest"

required: true
responses:
"202":
Expand Down
10 changes: 4 additions & 6 deletions connectormgmt/apiv1/client/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -452,18 +452,16 @@ paths:
style: simple
requestBody:
content:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/ConnectorRequest'
- type: object
application/merge-patch+json:
schema:
$ref: '#/components/schemas/ConnectorRequest'
type: object
application/json-patch+json:
schema:
description: A JSON Patch, RFC 6902 - https://tools.ietf.org/html/rfc6902
type: object
application/json:
schema:
$ref: '#/components/schemas/ConnectorRequest'
description: Data to patch the connector with
required: true
responses:
Expand Down
14 changes: 7 additions & 7 deletions connectormgmt/apiv1/client/api_connectors.go

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

Loading

0 comments on commit abc63d5

Please sign in to comment.