Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 22 additions & 8 deletions .openapi/connector_mgmt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,15 @@ paths:
404Example:
$ref: "#/components/examples/404Example"
description: No matching resource exists
"409":
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
examples:
404Example:
$ref: "#/components/examples/409Example"
description: An attempt was made to modify an immutable field
"410":
content:
application/json:
Expand Down Expand Up @@ -1022,7 +1031,6 @@ components:
- page
- size
- total
- items
type: object
properties:
kind:
Expand All @@ -1033,10 +1041,6 @@ components:
type: integer
total:
type: integer
items:
type: array
items:
$ref: "#/components/schemas/ObjectReference"

Error:
type: object
Expand Down Expand Up @@ -1113,9 +1117,8 @@ components:
properties:
collections:
type: array
items:
allOf:
- $ref: "#/components/schemas/ObjectReference"
items: # removed allOf to workaround this issue: https://github.com/microsoft/kiota/issues/2442
$ref: "#/components/schemas/ObjectReference"

#
# Services
Expand Down Expand Up @@ -1208,6 +1211,7 @@ components:
- $ref: "#/components/schemas/ConnectorClusterStatus"

ConnectorClusterList:
required: [ items ]
allOf:
- $ref: "#/components/schemas/List"
- type: object
Expand Down Expand Up @@ -1322,6 +1326,7 @@ components:
- $ref: "#/components/schemas/ConnectorStatus"

ConnectorList:
required: [ items ]
allOf:
- $ref: "#/components/schemas/List"
- type: object
Expand Down Expand Up @@ -1387,6 +1392,7 @@ components:
type: object

ConnectorTypeList:
required: [ items ]
allOf:
- $ref: "#/components/schemas/List"
- type: object
Expand Down Expand Up @@ -1504,6 +1510,7 @@ components:
- $ref: "#/components/schemas/ConnectorNamespaceRequestMeta"

ConnectorNamespaceList:
required: [ items ]
allOf:
- $ref: "#/components/schemas/List"
- type: object
Expand Down Expand Up @@ -1882,6 +1889,13 @@ components:
href: "/api/connector_mgmt/v1/errors/7"
code: "CONNECTOR-MGMT-7"
reason: "The requested resource doesn't exist"
409Example:
value:
id: "409"
kind: "Error"
href: "/api/connector_mgmt/v1/errors/21"
code: "CONNECTOR-MGMT-21"
reason: "An attempt was made to modify an immutable field"
410Example:
value:
id: "410"
Expand Down