Skip to content

Commit a6fca53

Browse files
authored
Schema-Registry: Update for v25.2.2 (#19)
Closes #22 Signed-off-by: Ben Pope <[email protected]>
1 parent 1c13306 commit a6fca53

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

schema-registry/schema-registry.json

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -459,15 +459,7 @@
459459
"200": {
460460
"description": "OK",
461461
"schema": {
462-
"type": "object",
463-
"properties": {
464-
"schemaType": {
465-
"type": "string"
466-
},
467-
"schema": {
468-
"type": "string"
469-
}
470-
}
462+
"$ref": "#/definitions/schema_def"
471463
}
472464
},
473465
"404": {
@@ -837,7 +829,7 @@
837829
"name": "schema_def",
838830
"in": "body",
839831
"schema": {
840-
"$ref": "#/definitions/schema_def"
832+
"$ref": "#/definitions/stored_schema"
841833
}
842834
}
843835
],
@@ -1559,15 +1551,21 @@
15591551
"type": "object",
15601552
"properties": {
15611553
"compatibilityLevel": {
1562-
"type": "string"
1554+
"type": "string",
1555+
"description": "Compatibility level",
1556+
"example": "FULL_TRANSITIVE",
1557+
"enum": ["BACKWARD", "BACKWARD_TRANSITIVE", "FORWARD", "FORWARD_TRANSITIVE", "FULL", "FULL_TRANSITIVE", "NONE"]
15631558
}
15641559
}
15651560
},
15661561
"put_compatibility": {
15671562
"type": "object",
15681563
"properties": {
15691564
"compatibility": {
1570-
"type": "string"
1565+
"type": "string",
1566+
"description": "Compatibility level",
1567+
"example": "FULL_TRANSITIVE",
1568+
"enum": ["BACKWARD", "BACKWARD_TRANSITIVE", "FORWARD", "FORWARD_TRANSITIVE", "FULL", "FULL_TRANSITIVE", "NONE"]
15711569
}
15721570
}
15731571
},

0 commit comments

Comments
 (0)