Skip to content

Commit

Permalink
Automated OAS update: openapi.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kong-apiops committed Feb 22, 2024
1 parent 597d6c8 commit 0d4f32a
Showing 1 changed file with 76 additions and 32 deletions.
108 changes: 76 additions & 32 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1436,29 +1436,6 @@ components:
type: string
format: uuid
nullable: true
AuthStrategyCredentialType:
type: string
enum:
- client_credentials
- self_managed_client_credentials
- key_auth
ListAuthStrategiesItem:
type: object
additionalProperties: false
properties:
id:
$ref: '#/components/schemas/AuthStrategyId'
name:
type: string
example: Okta Strategy
credential_type:
$ref: '#/components/schemas/AuthStrategyCredentialType'
auth_methods:
$ref: '#/components/schemas/AuthMethods'
required:
- id
- credential_type
- name
CreateCredentialPayload:
additionalProperties: false
type: object
Expand Down Expand Up @@ -1505,7 +1482,7 @@ components:
type: string
nullable: true
auth_strategy:
$ref: '#/components/schemas/AuthStrategy'
$ref: '#/components/schemas/PortalAuthStrategy'
created_at:
$ref: '#/components/schemas/CreatedAt'
updated_at:
Expand Down Expand Up @@ -1628,7 +1605,7 @@ components:
client_secret:
type: string
auth_strategy:
$ref: '#/components/schemas/AuthStrategy'
$ref: '#/components/schemas/PortalAuthStrategy'
created_at:
$ref: '#/components/schemas/CreatedAt'
updated_at:
Expand Down Expand Up @@ -1683,7 +1660,7 @@ components:
example: https://example.com/callback
nullable: true
auth_strategy:
$ref: '#/components/schemas/AuthStrategy'
$ref: '#/components/schemas/PortalAuthStrategy'
created_at:
$ref: '#/components/schemas/CreatedAt'
updated_at:
Expand All @@ -1708,7 +1685,7 @@ components:
data:
type: array
items:
$ref: '#/components/schemas/ListAuthStrategiesItem'
$ref: '#/components/schemas/PortalAuthStrategy'
PageMeta:
type: object
description: >-
Expand Down Expand Up @@ -1749,13 +1726,14 @@ components:
Cannot be set when using Dynamic Client Registration.
type: string
maxLength: 255
AuthStrategyKeyAuth:
PortalAuthStrategyKeyAuth:
description: KeyAuth Auth strategy that the application uses.
type: object
required:
- id
- name
- credential_type
- key_names
properties:
id:
type: string
Expand All @@ -1771,14 +1749,20 @@ components:
type: string
enum:
- key_auth
key_names:
type: array
items:
type: string
example:
- apikey
AuthMethods:
type: array
items:
description: Auth Methods enabled for this strategy
type: string
example:
- bearer
AuthStrategyClientCredentials:
PortalAuthStrategyClientCredentials:
description: Client Credential Auth strategy that the application uses.
type: object
required:
Expand All @@ -1804,10 +1788,12 @@ components:
- self_managed_client_credentials
auth_methods:
$ref: '#/components/schemas/AuthMethods'
AuthStrategy:
PortalAuthStrategy:
type: object
nullable: true
oneOf:
- $ref: '#/components/schemas/AuthStrategyKeyAuth'
- $ref: '#/components/schemas/AuthStrategyClientCredentials'
- $ref: '#/components/schemas/PortalAuthStrategyKeyAuth'
- $ref: '#/components/schemas/PortalAuthStrategyClientCredentials'
discriminator:
propertyName: credential_type
CreatedAt:
Expand Down Expand Up @@ -2459,6 +2445,8 @@ components:
- pending
- rejected
- revoked
auth_strategy:
$ref: '#/components/schemas/AuthStrategy'
created_at:
$ref: '#/components/schemas/CreatedAt'
updated_at:
Expand Down Expand Up @@ -2615,6 +2603,61 @@ components:
example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7
description: Contains a unique identifier for a resource.
nullable: true
AuthStrategyKeyAuth:
description: KeyAuth Auth strategy that the application uses.
type: object
required:
- id
- name
- credential_type
properties:
id:
type: string
format: uuid
example: b9e81174-b5bb-4638-a3c3-8afe61a0abf8
description: The Application Auth Strategy ID.
readOnly: true
name:
type: string
example: name
default: name
credential_type:
type: string
enum:
- key_auth
AuthStrategyClientCredentials:
description: Client Credential Auth strategy that the application uses.
type: object
required:
- id
- name
- credential_type
- auth_methods
properties:
id:
type: string
format: uuid
example: b9e81174-b5bb-4638-a3c3-8afe61a0abf8
description: The Application Auth Strategy ID.
readOnly: true
name:
type: string
example: name
default: name
credential_type:
type: string
enum:
- client_credentials
- self_managed_client_credentials
auth_methods:
$ref: '#/components/schemas/AuthMethods'
AuthStrategy:
type: object
oneOf:
- $ref: '#/components/schemas/AuthStrategyKeyAuth'
- $ref: '#/components/schemas/AuthStrategyClientCredentials'
discriminator:
propertyName: credential_type
DocumentContentTypeEnum:
type: string
default: application/json
Expand Down Expand Up @@ -2718,6 +2761,7 @@ components:
type: string
default: application/json
enum:
- text/markdown
- application/json
- application/vnd.konnect.document-nodes+json
NodeChildren:
Expand Down

0 comments on commit 0d4f32a

Please sign in to comment.