From 2412a2485c676bdadd236df7df7a2b29ee221281 Mon Sep 17 00:00:00 2001 From: Ben Pope Date: Fri, 22 Jul 2022 11:26:32 +0100 Subject: [PATCH] schema_registry: Update swagger for get_schemas_ids_id The `schemaType` is now returned if it's not avro. Signed-off-by: Ben Pope --- src/v/pandaproxy/api/api-doc/schema_registry.json | 3 +++ src/v/pandaproxy/api/api-doc/schema_registry_header.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/v/pandaproxy/api/api-doc/schema_registry.json b/src/v/pandaproxy/api/api-doc/schema_registry.json index 1a14d326e9a2..dd81567ec34e 100644 --- a/src/v/pandaproxy/api/api-doc/schema_registry.json +++ b/src/v/pandaproxy/api/api-doc/schema_registry.json @@ -247,6 +247,9 @@ "schema": { "type": "object", "properties": { + "schemaType": { + "type": "string" + }, "schema": { "type": "string" } diff --git a/src/v/pandaproxy/api/api-doc/schema_registry_header.json b/src/v/pandaproxy/api/api-doc/schema_registry_header.json index 8b05197f0d3a..933acad57f93 100644 --- a/src/v/pandaproxy/api/api-doc/schema_registry_header.json +++ b/src/v/pandaproxy/api/api-doc/schema_registry_header.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "Pandaproxy Schema Registry", - "version": "1.0.0" + "version": "1.0.1" }, "host": "{{Host}}", "basePath": "/",