Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated OpenAPI/CDDL generator #301

Open
mkschreder opened this issue Jan 22, 2025 · 0 comments
Open

Automated OpenAPI/CDDL generator #301

mkschreder opened this issue Jan 22, 2025 · 0 comments

Comments

@mkschreder
Copy link

It would be very useful to have an automated code generator that can generate the encoder and decoder code from structured data model. There are currently code generators like zcbor cddl tool that can generate zcbor encoder/decoder from a CDDL model. In web development we also have similar concept provided by OpenAPI tooling.

What is the plan to adopt any of these for QCBOR?

Personally I would prefer an OpenAPI generator because it would allow generating not only C code but also encoders and decoders for other languages from the same model definition.

What do you guys think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant