Skip to content

Automated OpenAPI/CDDL generator #301

Open
@mkschreder

Description

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?

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions