You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * Generated by orval v6.31.0 🍺 * Do not edit manually. * Closed API Server * The Closed API description * OpenAPI spec version: 1.0 */import{HttpResponse,http}from'msw'importtype{AddressGroups,List}from'../../schemas'// this path is wrong
What versions are you using?
Operating System: Mac OS 14.5(23F79) Package Version: 6.31.0 Browser Version: chrome 126.0.6478.183(Official Build) (arm64)
The text was updated successfully, but these errors were encountered:
melloware
changed the title
Incorrect import path of schema of msw when set schemas and indexFiles is false
MSW: Incorrect import path of schema when set schemas and indexFiles is false
Jul 29, 2024
What are the steps to reproduce this issue?
indexFiles:false
andschemas
in the output configuration.mock:true
in the output configuration.npx orval
What happens?
Generated
.msw.ts
files import schemas from index of schemas directory.Below example, it should import schemas from
'../../schemas/addressGroups'
Generated
.msw.ts
What versions are you using?
Operating System: Mac OS 14.5(23F79)
Package Version: 6.31.0
Browser Version: chrome 126.0.6478.183(Official Build) (arm64)
The text was updated successfully, but these errors were encountered: