Skip to content
Discussion options

You must be logged in to vote

You can include schemas from #/components/schemas that aren't used by any operation in types.gen.ts by configuring parser.filters.schemas.include with the names (or regex patterns) of the schemas you want to include. If you want to include all unused schemas, you can also set parser.filters.orphans to true to preserve orphaned resources in the generated output. There isn't a single global option to always include all schemas, but using these filters gives you fine-grained control over which schemas are included in types.gen.ts. See the configuration details in the docs for more info: parser filters and migration guide.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Inco…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hekystyle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant