Skip to content

Commit

Permalink
Automated OAS Update (#7418)
Browse files Browse the repository at this point in the history
Automated OAS update: api-specs/Konnect/v2/yaml/api-products.yaml, api-specs/Konnect/v2/yaml/audit-logs.yaml, api-specs/Konnect/control-planes-config/control-planes-config.yaml, api-specs/Konnect/v2/yaml/control-planes.yaml, api-specs/Konnect/v3/yaml/identity.yaml, api-specs/Konnect/v0/yaml/mesh-control-planes.yaml, api-specs/Konnect/v2/yaml/portal-management.yaml, api-specs/Konnect/v1/yaml/ksearch.yaml, api-specs/Konnect/v2/yaml/application-auth-strategies.yaml, openapi.yaml
  • Loading branch information
kong-apiops authored May 29, 2024
1 parent 9e23095 commit 80f4f8f
Show file tree
Hide file tree
Showing 9 changed files with 735 additions and 88 deletions.
90 changes: 81 additions & 9 deletions api-specs/Konnect/control-planes-config/control-planes-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4540,13 +4540,7 @@ components:
nullable: true
enum:
- required
- enum
- min_length
- max_length
- min_digits
- min_lowercase
- min_uppercase
- min_symbols
- is_array
- is_base64
- is_boolean
Expand All @@ -4557,33 +4551,106 @@ components:
- is_object
- is_string
- is_uuid
- is_fqdn
- is_arn
- unknown_property
- is_label
- matches_regex
InvalidParameterChoiceItem:
- invalid
- is_supported_network_availability_zone_list
- is_supported_network_cidr_block
- is_supported_provider_region
InvalidParameterStandard:
type: object
additionalProperties: false
properties:
field:
type: string
example: name
readOnly: true
rule:
$ref: '#/components/schemas/InvalidRules'
source:
type: string
example: body
reason:
type: string
example: is a required field
readOnly: true
required:
- field
- reason
InvalidParameterMinimumLength:
type: object
additionalProperties: false
properties:
field:
type: string
example: name
readOnly: true
rule:
description: invalid parameters rules
type: string
readOnly: true
nullable: false
enum:
- min_length
- min_digits
- min_lowercase
- min_uppercase
- min_symbols
minimum:
type: integer
example: 8
source:
type: string
example: body
reason:
type: string
example: is a required field
readOnly: true
required:
- field
- reason
- rule
- minimum
InvalidParameterChoiceItem:
type: object
additionalProperties: false
properties:
field:
type: string
example: name
readOnly: true
rule:
description: invalid parameters rules
type: string
readOnly: true
nullable: false
enum:
- enum
reason:
type: string
example: is a required field
readOnly: true
choices:
type: array
uniqueItems: true
nullable: true
items: {}
readOnly: true
nullable: false
minimum: 1
items: {}
source:
type: string
example: body
required:
- field
- reason
- rule
- choices
InvalidParameterDependentItem:
type: object
additionalProperties: false
properties:
field:
type: string
Expand All @@ -4606,6 +4673,9 @@ components:
nullable: true
items: {}
readOnly: true
source:
type: string
example: body
required:
- field
- rule
Expand All @@ -4619,6 +4689,8 @@ components:
description: invalid parameters
items:
oneOf:
- $ref: '#/components/schemas/InvalidParameterStandard'
- $ref: '#/components/schemas/InvalidParameterMinimumLength'
- $ref: '#/components/schemas/InvalidParameterChoiceItem'
- $ref: '#/components/schemas/InvalidParameterDependentItem'
BadRequestError:
Expand Down
90 changes: 81 additions & 9 deletions api-specs/Konnect/v0/yaml/mesh-control-planes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -363,13 +363,7 @@ components:
nullable: true
enum:
- required
- enum
- min_length
- max_length
- min_digits
- min_lowercase
- min_uppercase
- min_symbols
- is_array
- is_base64
- is_boolean
Expand All @@ -380,33 +374,106 @@ components:
- is_object
- is_string
- is_uuid
- is_fqdn
- is_arn
- unknown_property
- is_label
- matches_regex
InvalidParameterChoiceItem:
- invalid
- is_supported_network_availability_zone_list
- is_supported_network_cidr_block
- is_supported_provider_region
InvalidParameterStandard:
type: object
additionalProperties: false
properties:
field:
type: string
example: name
readOnly: true
rule:
$ref: '#/components/schemas/InvalidRules'
source:
type: string
example: body
reason:
type: string
example: is a required field
readOnly: true
required:
- field
- reason
InvalidParameterMinimumLength:
type: object
additionalProperties: false
properties:
field:
type: string
example: name
readOnly: true
rule:
description: invalid parameters rules
type: string
readOnly: true
nullable: false
enum:
- min_length
- min_digits
- min_lowercase
- min_uppercase
- min_symbols
minimum:
type: integer
example: 8
source:
type: string
example: body
reason:
type: string
example: is a required field
readOnly: true
required:
- field
- reason
- rule
- minimum
InvalidParameterChoiceItem:
type: object
additionalProperties: false
properties:
field:
type: string
example: name
readOnly: true
rule:
description: invalid parameters rules
type: string
readOnly: true
nullable: false
enum:
- enum
reason:
type: string
example: is a required field
readOnly: true
choices:
type: array
uniqueItems: true
nullable: true
items: {}
readOnly: true
nullable: false
minimum: 1
items: {}
source:
type: string
example: body
required:
- field
- reason
- rule
- choices
InvalidParameterDependentItem:
type: object
additionalProperties: false
properties:
field:
type: string
Expand All @@ -429,6 +496,9 @@ components:
nullable: true
items: {}
readOnly: true
source:
type: string
example: body
required:
- field
- rule
Expand All @@ -442,6 +512,8 @@ components:
description: invalid parameters
items:
oneOf:
- $ref: '#/components/schemas/InvalidParameterStandard'
- $ref: '#/components/schemas/InvalidParameterMinimumLength'
- $ref: '#/components/schemas/InvalidParameterChoiceItem'
- $ref: '#/components/schemas/InvalidParameterDependentItem'
BadRequestError:
Expand Down
Loading

0 comments on commit 80f4f8f

Please sign in to comment.