Skip to content

Commit 241993f

Browse files
vbotbuildovichgithub-actions[bot]
authored andcommitted
auto-docs: Update Cloud API spec
1 parent 31dcc1a commit 241993f

2 files changed

Lines changed: 41 additions & 23 deletions

File tree

cloud-controlplane/cloud-controlplane.yaml

Lines changed: 30 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -100,20 +100,6 @@ components:
100100
$ref: '#/components/schemas/ACLResource'
101101
title: A filter to match ACLs for resources
102102
type: object
103-
AIGateway:
104-
description: Cluster's AI Gateway properties.
105-
properties:
106-
url:
107-
description: AI Gateway URL.
108-
example: https://ai-gateway.cjb69h1c4vs42pca89s0.clusters.rdpa.co
109-
readOnly: true
110-
type: string
111-
v2_url:
112-
description: AI Gateway v2 URL.
113-
example: https://aigw.cjb69h1c4vs42pca89s0.clusters.rdpa.co
114-
readOnly: true
115-
type: string
116-
type: object
117103
AWS.Role:
118104
description: Role identifies AWS role.
119105
properties:
@@ -466,7 +452,7 @@ components:
466452
description: Resource describing a Cluster.
467453
properties:
468454
ai_gateway:
469-
$ref: '#/components/schemas/AIGateway'
455+
$ref: '#/components/schemas/Cluster.AIGateway'
470456
api_gateway_access:
471457
$ref: '#/components/schemas/NetworkAccessMode'
472458
aws_private_link:
@@ -587,6 +573,20 @@ components:
587573
type: array
588574
title: Cluster
589575
type: object
576+
Cluster.AIGateway:
577+
description: Cluster's AI Gateway properties.
578+
properties:
579+
url:
580+
description: AI Gateway URL.
581+
example: https://ai-gateway.cjb69h1c4vs42pca89s0.clusters.rdpa.co
582+
readOnly: true
583+
type: string
584+
v2_url:
585+
description: AI Gateway v2 URL.
586+
example: https://aigw.cjb69h1c4vs42pca89s0.clusters.rdpa.co
587+
readOnly: true
588+
type: string
589+
type: object
590590
Cluster.CloudStorage:
591591
properties:
592592
aws:
@@ -3457,6 +3457,8 @@ components:
34573457
ServerlessCluster:
34583458
description: Resource describing a ServerlessCluster.
34593459
properties:
3460+
ai_gateway:
3461+
$ref: '#/components/schemas/ServerlessCluster.AIGateway'
34603462
console_private_url:
34613463
readOnly: true
34623464
type: string
@@ -3511,6 +3513,16 @@ components:
35113513
type: string
35123514
title: ServerlessCluster
35133515
type: object
3516+
ServerlessCluster.AIGateway:
3517+
description: Cluster's AI Gateway properties.
3518+
properties:
3519+
v2_url:
3520+
description: AI Gateway v2 URL.
3521+
example: https://d1d9risv0c3i7qbbeoc0.aigw.adp.us-east-1.mpx.prd.cloud.redpanda.com
3522+
readOnly: true
3523+
type: string
3524+
readOnly: true
3525+
type: object
35143526
ServerlessCluster.DataplaneAPI:
35153527
description: Cluster's Data Plane API properties.
35163528
properties:
@@ -7468,7 +7480,8 @@ paths:
74687480
example:
74697481
next_page_token: some-opaque-string
74707482
serverless_clusters:
7471-
- console_private_url: ""
7483+
- ai_gateway: null
7484+
console_private_url: ""
74727485
console_url: https://console-d1d9risv0c3i7qbbeoc0.any.us-east-1.mpx.prd.cloud.redpanda.com
74737486
created_at: "2023-01-01T00:00:00Z"
74747487
dataplane_api:
@@ -7623,6 +7636,7 @@ paths:
76237636
application/json:
76247637
example:
76257638
serverless_cluster:
7639+
ai_gateway: null
76267640
console_private_url: ""
76277641
console_url: https://console-d1d9risv0c3i7qbbeoc0.any.us-east-1.mpx.prd.cloud.redpanda.com
76287642
created_at: "2023-01-01T00:00:00Z"

cloud-dataplane/cloud-dataplane.yaml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,14 @@ components:
6565
- ACL_PATTERN_ANY: Wildcard to match any pattern
6666
- ACL_PATTERN_LITERAL: Match a literal string
6767
- ACL_PATTERN_PREFIXED: Match a prefix
68+
- ACL_PATTERN_PREFIX: Match a prefix
6869
- ACL_PATTERN_MATCH: Match serves as a catch-all for all the names of a topic
6970
the principal is authorized to access
7071
enum:
7172
- ACL_PATTERN_ANY
7273
- ACL_PATTERN_LITERAL
7374
- ACL_PATTERN_PREFIXED
75+
- ACL_PATTERN_PREFIX
7476
- ACL_PATTERN_MATCH
7577
title: The ACL pattern type
7678
type: string
@@ -1153,17 +1155,17 @@ components:
11531155
In this example, in proto `field` could take one of the following values:
11541156
11551157
* `full_name` for a violation in the `full_name` value
1156-
* `email_addresses[1].email` for a violation in the `email` field of the
1158+
* `email_addresses[0].email` for a violation in the `email` field of the
11571159
first `email_addresses` message
1158-
* `email_addresses[3].type[2]` for a violation in the second `type`
1160+
* `email_addresses[2].type[1]` for a violation in the second `type`
11591161
value in the third `email_addresses` message.
11601162
11611163
In JSON, the same values are represented as:
11621164
11631165
* `fullName` for a violation in the `fullName` value
1164-
* `emailAddresses[1].email` for a violation in the `email` field of the
1166+
* `emailAddresses[0].email` for a violation in the `email` field of the
11651167
first `emailAddresses` message
1166-
* `emailAddresses[3].type[2]` for a violation in the second `type`
1168+
* `emailAddresses[2].type[1]` for a violation in the second `type`
11671169
value in the third `emailAddresses` message.
11681170
type: string
11691171
localized_message:
@@ -2224,9 +2226,11 @@ components:
22242226
description: |-
22252227
- PATTERN_TYPE_LITERAL: Must match the filter exactly
22262228
- PATTERN_TYPE_PREFIX: Will match anything that starts with filter
2229+
- PATTERN_TYPE_PREFIXED: Will match anything that starts with filter
22272230
enum:
22282231
- PATTERN_TYPE_LITERAL
22292232
- PATTERN_TYPE_PREFIX
2233+
- PATTERN_TYPE_PREFIXED
22302234
title: The matching pattern type
22312235
type: string
22322236
PermissionType:
@@ -3254,7 +3258,7 @@ components:
32543258
- `redpanda.remote.allowgaps`
32553259
- `redpanda.virtual.cluster.id`
32563260
- `redpanda.leaders.preference`
3257-
- `redpanda.cloud_topic.enabled`
3261+
- `redpanda.storage.mode`
32583262
32593263
This list is a list of properties in addition to the default properties
32603264
that will be synced. See `exclude_default`.
@@ -7834,7 +7838,7 @@ paths:
78347838
content:
78357839
multipart/form-data:
78367840
schema:
7837-
example: '{"name":"redact-orders","input_topic_name":"orders","output_topic_names":["orders-redacted"],"environment_variables":[{"key":"LOGGER_LEVEL","value":"DEBUG"}]}'
7841+
example: '{"name":"redact-orders", "input_topic_name":"orders", "output_topic_names":["orders-redacted"], "environment_variables":[{"key":"LOGGER_LEVEL", "value":"DEBUG"}]}'
78387842
properties:
78397843
metadata:
78407844
$ref: '#/components/schemas/DeployTransformRequest'
@@ -7852,7 +7856,7 @@ paths:
78527856
schema:
78537857
$ref: '#/components/schemas/TransformMetadata'
78547858
description: Created
7855-
summary: Deploy transform
7859+
summary: Deploy Transform
78567860
tags:
78577861
- Wasm Transforms
78587862
/v1/transforms/{name}:

0 commit comments

Comments
 (0)