Skip to content

Question: Add enums to openapi spec #53

@cdloh

Description

@cdloh

Hi thanks for the framework. We're just starting to use it fairly heavily internally for a bunch of lightweight APIs.

I'm trying to use the openapi spec generation features and was hoping that there would be a way to generate enums as part of the spec.

I can't figure out a clean way to do this as part of the class spec and was hoping that there might be a way to pass defined types straight into the generator, but at present doesn't appear to be possible.

Any thoughts on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions