Support for CDDL #5097
Replies: 3 comments 21 replies
|
Could you describe what new behaviour you're expecting to see? (And the |
|
@OR13 there are a couple of things here (and let me note that I have floated CBOR/CDDL support as something worth exploring in the past, but we have not gotten around to to thinking about it more deeply):
|
|
@OR13 From today's TDC call, one thing we'll need is more context around what CBOR and CDDL and why people want to use them in OpenAPI. From what folks on the call knew, some of the use cases including an all-binary (CBOR over HTTP/2 or HTTP/3) performance upgrade, while I had some vague notion that it's used in the finance industry, particularly with COSE. Which would actually fit with our 3.x focus on security. There is also interest in understanding use cases and level of demand for using CDDL with JSON vs CBOR. How much of a crossover is there? Are there cases where you would offer both CDDL and JSON Schema at the same time? When content-negotiating CBOR vs JSON? Or on other conditions? I think we need to understand exactly who needs this and why, which will help us understand how to think about what "support" would mean here if we were to add it. We need to undersand the audience for this, and how it relates to the current, mostly JSON-over-HTTP, OpenAPI audience. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I would like to see support for CDDL.
Here is a straw-man:
This could be useful for other data definition languages.
All reactions