strimzi / strimzi-kafka-bridge

An HTTP bridge for Apache Kafka®
Apache License 2.0
289 stars 120 forks source link

Added an additional OpenAPI v3 endpoint and deprecate v2 support #905

Closed ppatierno closed 6 months ago

ppatierno commented 6 months ago

This PR fixes #903 and implement what is described in proposal 71. It adds the new /openapi/v3 endpoint to return the OpenAPI v3 specification. It also adds the new /openapi/v2 endpoint returning the OpenAPI v2 specification as the already existing /openapi endpoint. That's for deprecating the OpenAPI v2 specification, incouraging users to use the v3 endpoint because v2 will be removed at the beginning of 2025 (as per proposal above).