We have to manually augment the OpenAPI spec for the Produce Records endpoint in ce-kafka-rest.openapi.yaml because it is currently modeled after the Confluent Cloud Kafka REST endpoint.
The CCloud Kafka REST endpoint for Produce Records does not accept schema details (because it only supports TopicNameStrategy), this is fine for CCloud.
However, given we plan to use the same API interface for producing records to other clusters, we need to add the schema parameters that the sidecar Produce Records endpoint supports. Namely: schema_version, subject and subject_name_strategy.
We have to manually augment the OpenAPI spec for the Produce Records endpoint in
ce-kafka-rest.openapi.yaml
because it is currently modeled after the Confluent Cloud Kafka REST endpoint.The CCloud Kafka REST endpoint for Produce Records does not accept schema details (because it only supports TopicNameStrategy), this is fine for CCloud.
However, given we plan to use the same API interface for producing records to other clusters, we need to add the schema parameters that the sidecar Produce Records endpoint supports. Namely:
schema_version
,subject
andsubject_name_strategy
.