Skip to content

rtk-query-codegen-openapi - allow to include all defined models in code generation #5010

Description

@llRandom

Currently model is not generated if it's not used by generated endpoints even if model is defined in openapi spec. In some cases it's very helpful to allow including such models instead of copy-pasting them from the backend. As a workaround I can create dummy endpoints just to include models but it would be more convenient to opt-in extra models generation

Metadata

Metadata

Assignees

No one assigned

    Labels

    RTKQ-CodegenIssues related to the @rtk-query/codegen-openapi package.
    No fields configured for Enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions