Skip to content

Commit

Permalink
chore(openapi): update connector-mgmt/v1 OpenAPI document (#418)
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 d9a162b commit 456e153
Showing 1 changed file with 57 additions and 2 deletions.
59 changes: 57 additions & 2 deletions .openapi/connector_mgmt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,15 @@ paths:
404Example:
$ref: "#/components/examples/404Example"
description: No matching connector type exists
"410":
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
examples:
404Example:
$ref: "#/components/examples/410Example"
description: Connector type doesn't exist anymore
"500":
content:
application/json:
Expand Down Expand Up @@ -289,7 +298,16 @@ paths:
examples:
404Example:
$ref: "#/components/examples/404Example"
description: No matching connector type exists
description: No matching connector exists
"410":
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
examples:
404Example:
$ref: "#/components/examples/410Example"
description: The requested resource doesn't exist anymore
"500":
content:
application/json:
Expand Down Expand Up @@ -388,7 +406,16 @@ paths:
examples:
404Example:
$ref: "#/components/examples/404Example"
description: No matching connector type exists
description: No matching resource exists
"410":
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
examples:
404Example:
$ref: "#/components/examples/410Example"
description: The requested resource doesn't exist anymore
"500":
content:
application/json:
Expand Down Expand Up @@ -550,6 +577,15 @@ paths:
404Example:
$ref: "#/components/examples/404Example"
description: No matching connector cluster type exists
"410":
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
examples:
404Example:
$ref: "#/components/examples/410Example"
description: The requested resource doesn't exist anymore
"500":
content:
application/json:
Expand Down Expand Up @@ -688,6 +724,15 @@ paths:
404Example:
$ref: "#/components/examples/404Example"
description: No matching connector cluster type exists
"410":
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
examples:
404Example:
$ref: "#/components/examples/410Example"
description: The requested resource doesn't exist anymore
"500":
content:
application/json:
Expand Down Expand Up @@ -1285,6 +1330,8 @@ components:
properties:
name:
type: string
pattern: "^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$"
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.
annotations:
type: array
items:
Expand Down Expand Up @@ -1385,6 +1432,7 @@ components:
- disconnected
- ready
- deleting
- deleted

ConnectorNamespaceStatus:
type: object
Expand Down Expand Up @@ -1712,6 +1760,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

0 comments on commit 456e153

Please sign in to comment.