Apicurio / apicurio-registry

An API/Schema registry - stores APIs and Schemas.
https://www.apicur.io/registry/
Apache License 2.0
588 stars 261 forks source link

Expose canonicalization endpoints #2473

Open bobmorley opened 2 years ago

bobmorley commented 2 years ago

We have a use case where it would be useful to be able to compare a version of a JSON schema that our producer uses, to the version that has been registered in Apicurio. While there are a couple of endpoints that indicate it uses a canonicalized/protocol specific version of the schema, there is no endpoint that allows me to GET the canonicalized schema from an arbitrarily provided schema.

Can this be considered as an enhancement?

EricWittmann commented 2 years ago

Yes it can! Sorry for the delay... my backlog getting out of hand again.

This is an interesting feature request. I don't see any reason why we can't introduce a new endpoint or perhaps a query param on an existing endpoint.

carlesarnal commented 4 months ago

@EricWittmann I think we should consider this for Registry V3.

EricWittmann commented 4 months ago

Can you add it to the roadmap/board?