Skip to content

Commit

Permalink
feat(sdk): automated oas update
Browse files Browse the repository at this point in the history
  • Loading branch information
kong-apiops committed Nov 27, 2024
1 parent fcb0d91 commit 8bccc03
Showing 1 changed file with 67 additions and 2 deletions.
69 changes: 67 additions & 2 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2040,7 +2040,6 @@ components:
type: string
enum:
- required
- max_length
- is_array
- is_base64
- is_boolean
Expand Down Expand Up @@ -2098,6 +2097,8 @@ components:
- min_lowercase
- min_uppercase
- min_symbols
- min_items
- min
nullable: false
readOnly: true
minimum:
Expand All @@ -2108,14 +2109,46 @@ components:
example: body
reason:
type: string
example: is a required field
example: must have at least 8 characters
readOnly: true
additionalProperties: false
required:
- field
- reason
- rule
- minimum
InvalidParameterMaximumLength:
type: object
properties:
field:
type: string
example: name
readOnly: true
rule:
description: invalid parameters rules
type: string
enum:
- max_length
- max_items
- max
nullable: false
readOnly: true
maximum:
type: integer
example: 8
source:
type: string
example: body
reason:
type: string
example: must not have more than 8 characters
readOnly: true
additionalProperties: false
required:
- field
- reason
- rule
- maximum
InvalidParameterChoiceItem:
type: object
properties:
Expand Down Expand Up @@ -2190,6 +2223,7 @@ components:
oneOf:
- $ref: '#/components/schemas/InvalidParameterStandard'
- $ref: '#/components/schemas/InvalidParameterMinimumLength'
- $ref: '#/components/schemas/InvalidParameterMaximumLength'
- $ref: '#/components/schemas/InvalidParameterChoiceItem'
- $ref: '#/components/schemas/InvalidParameterDependentItem'
minItems: 1
Expand Down Expand Up @@ -2575,9 +2609,12 @@ components:
readOnly: true
latest_version:
$ref: '#/components/schemas/LatestVersion'
public_labels:
$ref: '#/components/schemas/PublicLabels'
additionalProperties: false
required:
- id
- public_labels
- created_at
- updated_at
- name
Expand Down Expand Up @@ -2858,6 +2895,23 @@ components:
- title
- content
title: ProductDocumentRaw
PublicLabels:
description: |
Public labels store information about an entity that can be used for filtering a list of objects.
Public labels are intended to store **PUBLIC** metadata.
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
type: object
example:
category: finance
additionalProperties:
type: string
pattern: '^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$'
minLength: 1
maxLength: 63
maxProperties: 50
title: PublicLabels
NullableUUID:
description: Contains a unique identifier for a resource.
type: string
Expand Down Expand Up @@ -3523,6 +3577,8 @@ components:
required:
- name
- id
public_labels:
$ref: '#/components/schemas/PublicLabels'
additionalProperties: false
required:
- id
Expand All @@ -3532,6 +3588,7 @@ components:
- document_count
- version_count
- latest_version
- public_labels
title: ProductCatalogIndexSource
SearchIndicesParameters:
type: string
Expand Down Expand Up @@ -3859,6 +3916,8 @@ components:
description: Great products are built with great care
document_count: 5
version_count: 5
public_labels:
env: test
latest_version:
name: v5
id: 455b0beb-c3f7-4f8f-95f7-cd8ff0ee478e
Expand Down Expand Up @@ -4299,3 +4358,9 @@ tags:
all of the described endpoints will return a 404 error
- name: search
description: The API for Konnect Portal Search.
x-errors:
granted-scopes-unavailable:
description: |
The IDP used does not support granted scopes.
resolution: |
Switch to an IDP that allows you to grant specific scopes.

0 comments on commit 8bccc03

Please sign in to comment.