Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v23.3.x] [CORE-2399] Schema Registry: Improve retries and tombstoning #18624

Merged
merged 9 commits into from
May 22, 2024
57 changes: 14 additions & 43 deletions src/v/pandaproxy/api/api-doc/schema_registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,20 @@
"in": "path",
"required": true,
"type": "string"
},
{
"name": "defaultToGlobal",
"in": "query",
"required": false,
"type": "boolean"
}
],
"produces": ["application/vnd.schemaregistry.v1+json"],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "object",
"properties": {
"compatibilityLevel": {
"type": "string"
}
}
"$ref": "#/definitions/get_compatibility"
}
},
"500": {
Expand Down Expand Up @@ -55,12 +56,7 @@
"name": "config",
"in": "body",
"schema": {
"type": "object",
"properties": {
"compatibility": {
"type": "string"
}
}
"$ref": "#/definitions/put_compatibility"
}
}
],
Expand All @@ -69,12 +65,7 @@
"200": {
"description": "OK",
"schema": {
"type": "object",
"properties": {
"compatibility": {
"type": "string"
}
}
"$ref": "#/definitions/put_compatibility"
}
},
"500": {
Expand Down Expand Up @@ -106,12 +97,7 @@
"200": {
"description": "OK",
"schema": {
"type": "object",
"properties": {
"compatibility": {
"type": "string"
}
}
"$ref": "#/definitions/put_compatibility"
}
},
"404": {
Expand Down Expand Up @@ -144,12 +130,7 @@
"200": {
"description": "OK",
"schema": {
"type": "object",
"properties": {
"compatibilityLevel": {
"type": "string"
}
}
"$ref": "#/definitions/get_compatibility"
}
},
"500": {
Expand All @@ -173,12 +154,7 @@
"name": "config",
"in": "body",
"schema": {
"type": "object",
"properties": {
"compatibility": {
"type": "string"
}
}
"$ref": "#/definitions/put_compatibility"
}
}
],
Expand All @@ -187,12 +163,7 @@
"200": {
"description": "OK",
"schema": {
"type": "object",
"properties": {
"compatibility": {
"type": "string"
}
}
"$ref": "#/definitions/put_compatibility"
}
},
"500": {
Expand Down Expand Up @@ -452,7 +423,7 @@
},
"/subjects/{subject}": {
"post": {
"summary": "Check if a schema is already registred for the subject.",
"summary": "Check if a schema is already registered for the subject.",
"operationId": "post_subject",
"consumes": [
"application/vnd.schemaregistry.v1+json",
Expand Down
16 changes: 16 additions & 0 deletions src/v/pandaproxy/api/api-doc/schema_registry_definitions.def.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,20 @@
"type": "string"
}
}
},
"get_compatibility": {
"type": "object",
"properties": {
"compatibilityLevel": {
"type": "string"
}
}
},
"put_compatibility": {
"type": "object",
"properties": {
"compatibility": {
"type": "string"
}
}
}
Loading
Loading