|
@@ -358,11 +358,11 @@ paths:
|
|
|
type: string
|
|
|
|
|
|
/api/clusters/{clusterName}/schemas/{schemaName}:
|
|
|
- delete:
|
|
|
+ post:
|
|
|
tags:
|
|
|
- /api/clusters
|
|
|
- summary: delete schema from Schema Registry service
|
|
|
- operationId: deleteSchema
|
|
|
+ summary: create a new subject schema
|
|
|
+ operationId: createNewSchema
|
|
|
parameters:
|
|
|
- name: clusterName
|
|
|
in: path
|
|
@@ -374,18 +374,25 @@ paths:
|
|
|
required: true
|
|
|
schema:
|
|
|
type: string
|
|
|
+ requestBody:
|
|
|
+ content:
|
|
|
+ application/json:
|
|
|
+ schema:
|
|
|
+ $ref: '#/components/schemas/NewSchemaSubject'
|
|
|
responses:
|
|
|
200:
|
|
|
- description: OK
|
|
|
- 404:
|
|
|
- description: Not found
|
|
|
-
|
|
|
- /api/clusters/{clusterName}/schemas/{schemaName}/versions:
|
|
|
- get:
|
|
|
+ description: Updated
|
|
|
+ content:
|
|
|
+ application/json:
|
|
|
+ schema:
|
|
|
+ $ref: '#/components/schemas/SchemaSubject'
|
|
|
+ 400:
|
|
|
+ description: Bad request
|
|
|
+ delete:
|
|
|
tags:
|
|
|
- /api/clusters
|
|
|
- summary: get all version of schema from Schema Registry service
|
|
|
- operationId: getSchemaVersions
|
|
|
+ summary: delete schema from Schema Registry service
|
|
|
+ operationId: deleteSchema
|
|
|
parameters:
|
|
|
- name: clusterName
|
|
|
in: path
|
|
@@ -400,17 +407,15 @@ paths:
|
|
|
responses:
|
|
|
200:
|
|
|
description: OK
|
|
|
- content:
|
|
|
- application/json:
|
|
|
- schema:
|
|
|
- type: array
|
|
|
- items:
|
|
|
- type: integer
|
|
|
- post:
|
|
|
+ 404:
|
|
|
+ description: Not found
|
|
|
+
|
|
|
+ /api/clusters/{clusterName}/schemas/{schemaName}/versions:
|
|
|
+ get:
|
|
|
tags:
|
|
|
- /api/clusters
|
|
|
- summary: create a new subject schema
|
|
|
- operationId: createNewSchema
|
|
|
+ summary: get all version of schema from Schema Registry service
|
|
|
+ operationId: getSchemaVersions
|
|
|
parameters:
|
|
|
- name: clusterName
|
|
|
in: path
|
|
@@ -422,20 +427,15 @@ paths:
|
|
|
required: true
|
|
|
schema:
|
|
|
type: string
|
|
|
- requestBody:
|
|
|
- content:
|
|
|
- application/json:
|
|
|
- schema:
|
|
|
- $ref: '#/components/schemas/NewSchemaSubject'
|
|
|
responses:
|
|
|
200:
|
|
|
- description: Updated
|
|
|
+ description: OK
|
|
|
content:
|
|
|
application/json:
|
|
|
schema:
|
|
|
- $ref: '#/components/schemas/SchemaSubject'
|
|
|
- 400:
|
|
|
- description: Bad request
|
|
|
+ type: array
|
|
|
+ items:
|
|
|
+ type: integer
|
|
|
|
|
|
/api/clusters/{clusterName}/schemas/{schemaName}/latest:
|
|
|
get:
|