You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found a regression in the response of one of the rest endpoint of the ccompat/v6 and ccompat/v7
when requesting: /apis/ccompat/v6/subjects/{subject}/versions/latest or /apis/ccompat/v7/subjects/{subject}/versions/latest
if the schema is not AVRO the response doesn't return the schemaType
Steps to Reproduce
Launch a 2.5.5 Registry image (it's the one I tried but I didn't checked with other version)
Also the swagger of the ccompat api should be updated (actually for both version 2.5.5 and 2.5.10) because the schema type is never referenced in the 200 response code documentation
The text was updated successfully, but these errors were encountered:
Hello @Shawcs thanks for the report. I have confirmed this. Apparently, during the refactor, I missed a parameter in a function (and a test, of course). I'll create a PR fixing it.
Description
Registry Version:2.5.10
Persistence type: kafkasql
I found a regression in the response of one of the rest endpoint of the ccompat/v6 and ccompat/v7
when requesting: /apis/ccompat/v6/subjects/{subject}/versions/latest or /apis/ccompat/v7/subjects/{subject}/versions/latest
if the schema is not AVRO the response doesn't return the schemaType
Steps to Reproduce
Launch a 2.5.5 Registry image (it's the one I tried but I didn't checked with other version)
curl --request GET \ --url https://broker-schema-registry.com/apis/ccompat/v6/subjects/bank-json-value/versions/latest #OR curl --request GET \ --url https://broker-schema-registry..com/apis/ccompat/v7/subjects/bank-json-value/versions/latest
Launch a 2.5.10 Registry Image, clear the kafkasql-journal topic
register a schema in the same way as before
get the schema metadata the same way:
Expected vs Actual Behaviour
The API should give the schemaType like in the 2.5.5 version and as stated in the confluent API (as we are in the ccompat api) here: https://docs.confluent.io/platform/current/schema-registry/develop/api.html#get--subjects-(string-%20subject)-versions-(versionId-%20version)
Also the swagger of the ccompat api should be updated (actually for both version 2.5.5 and 2.5.10) because the schema type is never referenced in the 200 response code documentation
The text was updated successfully, but these errors were encountered: