Skip to content

OpenAPI specification improvements #964

@dammitjanet

Description

@dammitjanet

Using Code Generators (e.g. NSwag) to generated code classes from the Spec, the enums defined in the schemas are being repeated, because the the enum values are repeated in the schema sections

e.g. the lang enum is used 4 times are generates 4 classes with the same names, this is due to the OpenAPI spec not using reusable component schemas for enumeration values

See the reusable Enums section here

Consider defining the enums as shared where appropriate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions