Skip to content

Commit 2a72ace

Browse files
authored
schema_registry/swagger: Fix version type (#39)
See: redpanda-data/redpanda#28297 Signed-off-by: Ben Pope <[email protected]>
1 parent 31d3731 commit 2a72ace

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

schema-registry/schema-registry.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"swagger": "2.0",
33
"info": {
44
"title": "Redpanda Schema Registry API",
5-
"version": "1.1.1"
5+
"version": "1.1.2"
66
},
77
"host": "localhost:8081",
88
"basePath": "/",
@@ -899,6 +899,7 @@
899899
{
900900
"name": "version",
901901
"in": "path",
902+
"description": "The schema version to retrieve. Use an integer for a specific version or 'latest' for the most recent version.",
902903
"required": true,
903904
"type": "string"
904905
},
@@ -967,6 +968,7 @@
967968
{
968969
"name": "version",
969970
"in": "path",
971+
"description": "The schema version to delete. Use an integer for a specific version or 'latest' for the most recent version.",
970972
"required": true,
971973
"type": "string"
972974
},
@@ -1025,6 +1027,7 @@
10251027
{
10261028
"name": "version",
10271029
"in": "path",
1030+
"description": "The schema version to retrieve. Use an integer for a specific version or 'latest' for the most recent version.",
10281031
"required": true,
10291032
"type": "string"
10301033
},
@@ -1095,6 +1098,7 @@
10951098
{
10961099
"name": "version",
10971100
"in": "path",
1101+
"description": "The schema version to check. Use an integer for a specific version or 'latest' for the most recent version.",
10981102
"required": true,
10991103
"type": "string"
11001104
}
@@ -1150,6 +1154,7 @@
11501154
{
11511155
"name": "version",
11521156
"in": "path",
1157+
"description": "The schema version to check. Use an integer for a specific version or 'latest' for the most recent version.",
11531158
"required": true,
11541159
"type": "string"
11551160
}
@@ -1209,8 +1214,9 @@
12091214
{
12101215
"name": "version",
12111216
"in": "path",
1217+
"description": "The schema version to check compatibility against. Use an integer for a specific version or 'latest' for the most recent version.",
12121218
"required": true,
1213-
"type": "integer"
1219+
"type": "string"
12141220
},
12151221
{
12161222
"name": "schema_def",

0 commit comments

Comments
 (0)