orval icon indicating copy to clipboard operation
orval copied to clipboard

Zod: Broken import path generated in index.ts when `schemas` not set in `output`.

Open ajlouie opened this issue 5 months ago • 1 comments
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.

ajlouie avatar Jun 17 '25 17:06 ajlouie

I think this has already been reported.

melloware avatar Jun 19 '25 00:06 melloware

Related to #2128

o-alexandrov avatar Jun 23 '25 04:06 o-alexandrov

Duplicate of #2128

melloware avatar Jun 23 '25 11:06 melloware