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 · 1 comment
Open

Automated OpenAPI/CDDL generator #301

mkschreder opened this issue Jan 22, 2025 · 1 comment
Labels
enhancement New feature or request

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?

@laurencelundblade
Copy link
Owner

Sounds nice and would be a good addition, but it's very unlikely I'll work on it anytime soon. I have too much to do on QCBOR and lots of other projects.

If someone else took it on, I think I could be supportive. For example, if some new functions where desired.

LL

@laurencelundblade laurencelundblade added the enhancement New feature or request label Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants