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 15, 2024
1 parent b035816 commit cabfea8
Showing 1 changed file with 83 additions and 26 deletions.
109 changes: 83 additions & 26 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,6 @@ paths:
- portalAccessToken: []
- {}
/api/v2/products/{productId}/actions:
x-unstable: true
parameters:
- $ref: '#/components/parameters/ProductId'
get:
Expand Down Expand Up @@ -1437,6 +1436,12 @@ components:
type: string
format: uuid
nullable: true
AuthStrategyCredentialType:
type: string
enum:
- client_credentials
- self_managed_client_credentials
- key_auth
ListAuthStrategiesItem:
type: object
additionalProperties: false
Expand All @@ -1447,19 +1452,9 @@ components:
type: string
example: Okta Strategy
credential_type:
type: string
enum:
- client_credentials
- self_managed_client_credentials
- key_auth
example: client_credentials
$ref: '#/components/schemas/AuthStrategyCredentialType'
auth_methods:
type: array
items:
description: Auth Methods enabled for this strategy
type: string
example:
- bearer
$ref: '#/components/schemas/AuthMethods'
required:
- id
- credential_type
Expand Down Expand Up @@ -1509,8 +1504,8 @@ components:
redirect_uri:
type: string
nullable: true
auth_strategy_id:
$ref: '#/components/schemas/AuthStrategyId'
auth_strategy:
$ref: '#/components/schemas/AuthStrategy'
created_at:
$ref: '#/components/schemas/CreatedAt'
updated_at:
Expand Down Expand Up @@ -1607,7 +1602,7 @@ components:
- description
- created_at
- updated_at
- auth_strategy_id
- auth_strategy
properties:
id:
$ref: '#/components/schemas/UUID'
Expand All @@ -1632,8 +1627,8 @@ components:
type: string
client_secret:
type: string
auth_strategy_id:
$ref: '#/components/schemas/AuthStrategyId'
auth_strategy:
$ref: '#/components/schemas/AuthStrategy'
created_at:
$ref: '#/components/schemas/CreatedAt'
updated_at:
Expand Down Expand Up @@ -1687,8 +1682,8 @@ components:
type: string
example: https://example.com/callback
nullable: true
auth_strategy_id:
$ref: '#/components/schemas/AuthStrategyId'
auth_strategy:
$ref: '#/components/schemas/AuthStrategy'
created_at:
$ref: '#/components/schemas/CreatedAt'
updated_at:
Expand Down Expand Up @@ -1754,6 +1749,74 @@ components:
Cannot be set when using Dynamic Client Registration.
type: string
maxLength: 255
CredentialType:
type: string
description: type of the application auth strategy
enum:
- client_credentials
- self_managed_client_credentials
- key_auth
example: key_auth
AuthStrategyBase:
description: Properties common to all Application Auth Strategies
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:
$ref: '#/components/schemas/CredentialType'
AuthStrategyKeyAuth:
description: KeyAuth Auth strategy that the application uses.
type: object
required:
- credential_type
properties:
credential_type:
type: string
enum:
- key_auth
AuthMethods:
type: array
items:
description: Auth Methods enabled for this strategy
type: string
example:
- bearer
AuthStrategyClientCredentials:
description: Client Credential Auth strategy that the application uses.
type: object
required:
- credential_type
- auth_methods
properties:
credential_type:
type: string
enum:
- client_credentials
- self_managed_client_credentials
auth_methods:
$ref: '#/components/schemas/AuthMethods'
AuthStrategy:
allOf:
- $ref: '#/components/schemas/AuthStrategyBase'
- type: object
oneOf:
- $ref: '#/components/schemas/AuthStrategyKeyAuth'
- $ref: '#/components/schemas/AuthStrategyClientCredentials'
discriminator:
propertyName: credential_type
CreatedAt:
type: string
format: date-time
Expand Down Expand Up @@ -2331,12 +2394,6 @@ components:
type: array
items:
type: string
CredentialType:
type: string
enum:
- client_credentials
- self_managed_client_credentials
- key_auth
LatestVersion:
type: object
additionalProperties: false
Expand Down

0 comments on commit cabfea8

Please sign in to comment.