Skip to content

Commit

Permalink
schema_registry: Update swagger for get_schemas_ids_id
Browse files Browse the repository at this point in the history
The `schemaType` is now returned if it's not avro.

Signed-off-by: Ben Pope <ben@redpanda.com>
  • Loading branch information
BenPope committed Jul 22, 2022
1 parent 68cdd7b commit 2412a24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/v/pandaproxy/api/api-doc/schema_registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,9 @@
"schema": {
"type": "object",
"properties": {
"schemaType": {
"type": "string"
},
"schema": {
"type": "string"
}
Expand Down
2 changes: 1 addition & 1 deletion src/v/pandaproxy/api/api-doc/schema_registry_header.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "Pandaproxy Schema Registry",
"version": "1.0.0"
"version": "1.0.1"
},
"host": "{{Host}}",
"basePath": "/",
Expand Down

0 comments on commit 2412a24

Please sign in to comment.