Skip to content

Commit 3610a2c

Browse files
authored
Add import mode (#28)
1 parent baf1937 commit 3610a2c

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

schema-registry/schema-registry.json

Lines changed: 17 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.0"
5+
"version": "1.1.1"
66
},
77
"host": "localhost:8081",
88
"basePath": "/",
@@ -232,6 +232,13 @@
232232
"schema": {
233233
"$ref": "#/definitions/mode"
234234
}
235+
},
236+
{
237+
"name": "force",
238+
"description": "If true, override the emptiness check when setting the global mode to IMPORT",
239+
"in": "query",
240+
"required": false,
241+
"type": "boolean"
235242
}
236243
],
237244
"produces": [
@@ -329,6 +336,13 @@
329336
"schema": {
330337
"$ref": "#/definitions/mode"
331338
}
339+
},
340+
{
341+
"name": "force",
342+
"description": "If true, override the emptiness check when setting a subject's mode to IMPORT",
343+
"in": "query",
344+
"required": false,
345+
"type": "boolean"
332346
}
333347
],
334348
"produces": [
@@ -1576,7 +1590,8 @@
15761590
"type": "string",
15771591
"enum": [
15781592
"READWRITE",
1579-
"READONLY"
1593+
"READONLY",
1594+
"IMPORT"
15801595
]
15811596
}
15821597
}

0 commit comments

Comments
 (0)