Skip to content

Commit 6b5c21e

Browse files
authored
feat(sdk): automated oas update
1 parent 5a412bc commit 6b5c21e

File tree

14 files changed

+12183
-10092
lines changed

14 files changed

+12183
-10092
lines changed

api-specs/konnect/api-builder/v3/openapi.yaml

Lines changed: 41 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ info:
66
contact:
77
name: Kong
88
url: 'https://cloud.konghq.com'
9-
x-oas-source: kong/platform-api@3a23fcee8d40e0fce64d7cfb28d51c270a2b9e28
10-
x-oas-source-link: 'https://github.com/Kong/platform-api/commit/3a23fcee8d40e0fce64d7cfb28d51c270a2b9e28'
9+
x-oas-source: kong/platform-api@c7059d359d4a307e726eb84e42ef5607c77542d4
10+
x-oas-source-link: 'https://github.com/Kong/platform-api/commit/c7059d359d4a307e726eb84e42ef5607c77542d4'
1111
servers:
1212
- url: 'https://us.api.konghq.com/v3'
1313
description: United-States Production region
@@ -1696,9 +1696,13 @@ components:
16961696
$ref: '#/components/schemas/DateTimeFieldFilter'
16971697
title: API Attribute Filter Parameters
16981698
UuidFieldFilter:
1699-
description: 'Filter using **one** of the following operators: `oeq`, `neq`'
1699+
description: 'Filter using **one** of the following operators: `eq`, `oeq`, `neq`'
17001700
type: object
17011701
properties:
1702+
eq:
1703+
description: The field exactly matches the provided value.
1704+
type: string
1705+
example: '?filter[field_name_here][eq]=foo'
17021706
oeq:
17031707
description: The field matches any of the provided values.
17041708
type: string
@@ -1708,61 +1712,51 @@ components:
17081712
type: string
17091713
example: '?filter[field_name_here][neq]=bar'
17101714
additionalProperties: false
1711-
oneOf:
1712-
- type: string
1713-
- type: object
1714-
title: StringFieldEqualsComparison
1715-
additionalProperties: false
1716-
properties:
1717-
eq:
1718-
type: string
1719-
required:
1720-
- eq
17211715
x-examples:
17221716
example-1:
17231717
oeq: 'some-value,some-other-value'
17241718
neq: not-this-value
17251719
example-2:
17261720
eq: some-value
17271721
StringFieldFilter:
1728-
description: 'Filter using **one** of the following operators: `oeq`, `neq`, `contains`, `ocontains`'
1729-
type: object
1730-
properties:
1731-
contains:
1732-
description: The field contains the provided value.
1733-
type: string
1734-
example: '?filter[field_name_here][contains]=foo'
1735-
ocontains:
1736-
description: The field contains any of the provided values.
1737-
type: string
1738-
example: '?filter[field_name_here][ocontains]=foo,bar'
1739-
oeq:
1740-
description: The field matches any of the provided values.
1741-
type: string
1742-
example: '?filter[field_name_here][oeq]=foo,bar'
1743-
neq:
1744-
description: The field does not match the provided value.
1745-
type: string
1746-
example: '?filter[field_name_here][neq]=bar'
1747-
additionalProperties: false
17481722
oneOf:
1749-
- type: string
1750-
- type: object
1751-
title: StringFieldEqualsComparison
1752-
additionalProperties: false
1723+
- title: Filter by operator
1724+
description: 'Filter using **one** of the following operators: `eq`, `oeq`, `neq`, `contains`, `ocontains`'
1725+
x-examples:
1726+
example-1:
1727+
contains: some-value
1728+
ocontains: 'this-value,or-that-value'
1729+
oeq: 'some-value,some-other-value'
1730+
neq: not-this-value
1731+
example-2:
1732+
eq: some-value
17531733
properties:
17541734
eq:
1735+
description: The field exactly matches the provided value.
17551736
type: string
1756-
required:
1757-
- eq
1758-
x-examples:
1759-
example-1:
1760-
contains: some-value
1761-
ocontains: 'this-value,or-that-value'
1762-
oeq: 'some-value,some-other-value'
1763-
neq: not-this-value
1764-
example-2:
1765-
eq: some-value
1737+
example: '?filter[field_name_here][eq]=foo'
1738+
contains:
1739+
description: The field contains the provided value.
1740+
type: string
1741+
example: '?filter[field_name_here][contains]=foo'
1742+
ocontains:
1743+
description: The field contains any of the provided values.
1744+
type: string
1745+
example: '?filter[field_name_here][ocontains]=foo,bar'
1746+
oeq:
1747+
description: The field matches any of the provided values.
1748+
type: string
1749+
example: '?filter[field_name_here][oeq]=foo,bar'
1750+
neq:
1751+
description: The field does not match the provided value.
1752+
type: string
1753+
example: '?filter[field_name_here][neq]=bar'
1754+
type: object
1755+
additionalProperties: false
1756+
- title: Filter by exact string match
1757+
type: string
1758+
description: The field exactly matches the provided value.
1759+
example: '?filter[title]=foo'
17661760
LabelsFieldFilter:
17671761
allOf:
17681762
- title: LabelsFieldFilter

api-specs/konnect/api-products/v2/openapi.yaml

Lines changed: 41 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ info:
66
contact:
77
name: Kong
88
url: 'https://cloud.konghq.com'
9-
x-oas-source: kong/platform-api@3a23fcee8d40e0fce64d7cfb28d51c270a2b9e28
10-
x-oas-source-link: 'https://github.com/Kong/platform-api/commit/3a23fcee8d40e0fce64d7cfb28d51c270a2b9e28'
9+
x-oas-source: kong/platform-api@c7059d359d4a307e726eb84e42ef5607c77542d4
10+
x-oas-source-link: 'https://github.com/Kong/platform-api/commit/c7059d359d4a307e726eb84e42ef5607c77542d4'
1111
servers:
1212
- url: 'https://us.api.konghq.com/v2'
1313
description: United-States Production region
@@ -1370,44 +1370,44 @@ components:
13701370
- id
13711371
- control_plane_id
13721372
StringFieldFilter:
1373-
description: 'Filter using **one** of the following operators: `oeq`, `neq`, `contains`, `ocontains`'
1374-
type: object
1375-
properties:
1376-
contains:
1377-
description: The field contains the provided value.
1378-
type: string
1379-
example: '?filter[field_name_here][contains]=foo'
1380-
ocontains:
1381-
description: The field contains any of the provided values.
1382-
type: string
1383-
example: '?filter[field_name_here][ocontains]=foo,bar'
1384-
oeq:
1385-
description: The field matches any of the provided values.
1386-
type: string
1387-
example: '?filter[field_name_here][oeq]=foo,bar'
1388-
neq:
1389-
description: The field does not match the provided value.
1390-
type: string
1391-
example: '?filter[field_name_here][neq]=bar'
1392-
additionalProperties: false
13931373
oneOf:
1394-
- type: string
1395-
- type: object
1396-
title: StringFieldEqualsComparison
1397-
additionalProperties: false
1374+
- title: Filter by operator
1375+
description: 'Filter using **one** of the following operators: `eq`, `oeq`, `neq`, `contains`, `ocontains`'
1376+
x-examples:
1377+
example-1:
1378+
contains: some-value
1379+
ocontains: 'this-value,or-that-value'
1380+
oeq: 'some-value,some-other-value'
1381+
neq: not-this-value
1382+
example-2:
1383+
eq: some-value
13981384
properties:
13991385
eq:
1386+
description: The field exactly matches the provided value.
14001387
type: string
1401-
required:
1402-
- eq
1403-
x-examples:
1404-
example-1:
1405-
contains: some-value
1406-
ocontains: 'this-value,or-that-value'
1407-
oeq: 'some-value,some-other-value'
1408-
neq: not-this-value
1409-
example-2:
1410-
eq: some-value
1388+
example: '?filter[field_name_here][eq]=foo'
1389+
contains:
1390+
description: The field contains the provided value.
1391+
type: string
1392+
example: '?filter[field_name_here][contains]=foo'
1393+
ocontains:
1394+
description: The field contains any of the provided values.
1395+
type: string
1396+
example: '?filter[field_name_here][ocontains]=foo,bar'
1397+
oeq:
1398+
description: The field matches any of the provided values.
1399+
type: string
1400+
example: '?filter[field_name_here][oeq]=foo,bar'
1401+
neq:
1402+
description: The field does not match the provided value.
1403+
type: string
1404+
example: '?filter[field_name_here][neq]=bar'
1405+
type: object
1406+
additionalProperties: false
1407+
- title: Filter by exact string match
1408+
type: string
1409+
description: The field exactly matches the provided value.
1410+
example: '?filter[title]=foo'
14111411
SortQuery:
14121412
description: |
14131413
The `asc` suffix is optional as the default sort order is ascending.
@@ -2195,9 +2195,13 @@ components:
21952195
- checked
21962196
- type
21972197
UuidFieldFilter:
2198-
description: 'Filter using **one** of the following operators: `oeq`, `neq`'
2198+
description: 'Filter using **one** of the following operators: `eq`, `oeq`, `neq`'
21992199
type: object
22002200
properties:
2201+
eq:
2202+
description: The field exactly matches the provided value.
2203+
type: string
2204+
example: '?filter[field_name_here][eq]=foo'
22012205
oeq:
22022206
description: The field matches any of the provided values.
22032207
type: string
@@ -2207,16 +2211,6 @@ components:
22072211
type: string
22082212
example: '?filter[field_name_here][neq]=bar'
22092213
additionalProperties: false
2210-
oneOf:
2211-
- type: string
2212-
- type: object
2213-
title: StringFieldEqualsComparison
2214-
additionalProperties: false
2215-
properties:
2216-
eq:
2217-
type: string
2218-
required:
2219-
- eq
22202214
x-examples:
22212215
example-1:
22222216
oeq: 'some-value,some-other-value'

api-specs/konnect/application-auth-strategies/v2/openapi.yaml

Lines changed: 41 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ info:
66
contact:
77
name: Kong
88
url: 'https://cloud.konghq.com'
9-
x-oas-source: kong/platform-api@3a23fcee8d40e0fce64d7cfb28d51c270a2b9e28
10-
x-oas-source-link: 'https://github.com/Kong/platform-api/commit/3a23fcee8d40e0fce64d7cfb28d51c270a2b9e28'
9+
x-oas-source: kong/platform-api@c7059d359d4a307e726eb84e42ef5607c77542d4
10+
x-oas-source-link: 'https://github.com/Kong/platform-api/commit/c7059d359d4a307e726eb84e42ef5607c77542d4'
1111
servers:
1212
- url: 'https://us.api.konghq.com/v2'
1313
description: United-States Production region
@@ -1801,48 +1801,52 @@ components:
18011801
nullable: true
18021802
writeOnly: true
18031803
StringFieldFilter:
1804-
description: 'Filter using **one** of the following operators: `oeq`, `neq`, `contains`, `ocontains`'
1805-
type: object
1806-
properties:
1807-
contains:
1808-
description: The field contains the provided value.
1809-
type: string
1810-
example: '?filter[field_name_here][contains]=foo'
1811-
ocontains:
1812-
description: The field contains any of the provided values.
1813-
type: string
1814-
example: '?filter[field_name_here][ocontains]=foo,bar'
1815-
oeq:
1816-
description: The field matches any of the provided values.
1817-
type: string
1818-
example: '?filter[field_name_here][oeq]=foo,bar'
1819-
neq:
1820-
description: The field does not match the provided value.
1821-
type: string
1822-
example: '?filter[field_name_here][neq]=bar'
1823-
additionalProperties: false
18241804
oneOf:
1825-
- type: string
1826-
- type: object
1827-
title: StringFieldEqualsComparison
1828-
additionalProperties: false
1805+
- title: Filter by operator
1806+
description: 'Filter using **one** of the following operators: `eq`, `oeq`, `neq`, `contains`, `ocontains`'
1807+
x-examples:
1808+
example-1:
1809+
contains: some-value
1810+
ocontains: 'this-value,or-that-value'
1811+
oeq: 'some-value,some-other-value'
1812+
neq: not-this-value
1813+
example-2:
1814+
eq: some-value
18291815
properties:
18301816
eq:
1817+
description: The field exactly matches the provided value.
18311818
type: string
1832-
required:
1833-
- eq
1834-
x-examples:
1835-
example-1:
1836-
contains: some-value
1837-
ocontains: 'this-value,or-that-value'
1838-
oeq: 'some-value,some-other-value'
1839-
neq: not-this-value
1840-
example-2:
1841-
eq: some-value
1819+
example: '?filter[field_name_here][eq]=foo'
1820+
contains:
1821+
description: The field contains the provided value.
1822+
type: string
1823+
example: '?filter[field_name_here][contains]=foo'
1824+
ocontains:
1825+
description: The field contains any of the provided values.
1826+
type: string
1827+
example: '?filter[field_name_here][ocontains]=foo,bar'
1828+
oeq:
1829+
description: The field matches any of the provided values.
1830+
type: string
1831+
example: '?filter[field_name_here][oeq]=foo,bar'
1832+
neq:
1833+
description: The field does not match the provided value.
1834+
type: string
1835+
example: '?filter[field_name_here][neq]=bar'
1836+
type: object
1837+
additionalProperties: false
1838+
- title: Filter by exact string match
1839+
type: string
1840+
description: The field exactly matches the provided value.
1841+
example: '?filter[title]=foo'
18421842
UuidFieldFilter:
1843-
description: 'Filter using **one** of the following operators: `oeq`, `neq`'
1843+
description: 'Filter using **one** of the following operators: `eq`, `oeq`, `neq`'
18441844
type: object
18451845
properties:
1846+
eq:
1847+
description: The field exactly matches the provided value.
1848+
type: string
1849+
example: '?filter[field_name_here][eq]=foo'
18461850
oeq:
18471851
description: The field matches any of the provided values.
18481852
type: string
@@ -1852,16 +1856,6 @@ components:
18521856
type: string
18531857
example: '?filter[field_name_here][neq]=bar'
18541858
additionalProperties: false
1855-
oneOf:
1856-
- type: string
1857-
- type: object
1858-
title: StringFieldEqualsComparison
1859-
additionalProperties: false
1860-
properties:
1861-
eq:
1862-
type: string
1863-
required:
1864-
- eq
18651859
x-examples:
18661860
example-1:
18671861
oeq: 'some-value,some-other-value'

0 commit comments

Comments
 (0)