Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correct imports in Mock handlers without index #1758

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

AlmarAubel
Copy link
Contributor

@AlmarAubel AlmarAubel commented Dec 20, 2024

fixes: #1547

Status

READY

Description

When generating .msw.ts files with npx orval, the import paths for schemas were incorrect. Specifically, the generated files would import schemas from the root index of the schemas directory (e.g., ../../schemas). However, the import paths should have pointed directly to the specific schema files, such as ../../schemas/addressGroups.

@melloware melloware merged commit 5a1b087 into orval-labs:master Dec 20, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MSW: Incorrect import path of schema when set schemas and indexFiles is false
2 participants