Skip to content

Commit

Permalink
schema_registry: Swagger for subjects
Browse files Browse the repository at this point in the history
  • Loading branch information
oleiman committed Aug 28, 2023
1 parent 12502e1 commit 6f3233a
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions src/v/pandaproxy/api/api-doc/schema_registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,55 @@
}
}
},
"/schemas/ids/{id}/subjects": {
"get": {
"summary": "Retrieve a list of subjects associated with some schema ID.",
"operationId": "get_schemas_ids_id_subjects",
"consumes": [
"application/vnd.schemaregistry.v1+json",
"application/vnd.schemaregistry+json",
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "integer"
},
{
"name": "deleted",
"in": "query",
"required": false,
"type": "boolean"
}
],
"produces": ["application/vnd.schemaregistry.v1+json"],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
"404": {
"description": "Schema not found",
"schema": {
"$ref": "#/definitions/error_body"
}
},
"500": {
"description": "Internal Server error",
"schema": {
"$ref": "#/definitions/error_body"
}
}
}
}
},
"/subjects": {
"get": {
"summary": "Retrieve a list of subjects.",
Expand Down

0 comments on commit 6f3233a

Please sign in to comment.