Skip to content

Don't add empty required properties information in DTO fields #93

Open
@duharound

Description

@duharound

In the OpenAPI spec at /api-docs/oas-3.0.0.json, the DTO schema definitions all include an empty required field like

"required": []

This creates errors with some automated schema checks as for example used in https://github.com/openapi-generators/openapi-python-client, such that one has to either remove the required field or add manually some required properties.

Related to #42

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