orval
orval copied to clipboard
Zod: Broken import path generated in index.ts when `schemas` not set in `output`.
trafficstars
See this repo for an example of this bug.
In the generated client code, when the schemas output option is NOT set in the orval.config.ts config file, the index.ts file contains a broken import for a non-existent path.
All other client options seem to create the proper swaggerPetstoreOpenAPI30.schemas file in the correct target path.
I think this has already been reported.
Related to #2128
Duplicate of #2128