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

Orval Generating a Specific File for Union Types #1959

Open
tarcisioandrade opened this issue Mar 3, 2025 · 0 comments
Open

Orval Generating a Specific File for Union Types #1959

tarcisioandrade opened this issue Mar 3, 2025 · 0 comments
Labels
question Further information is requested

Comments

@tarcisioandrade
Copy link

tarcisioandrade commented Mar 3, 2025

When we have a union types the orval creates a file and a specific type for it, instead of putting it inline.

Example:

AddressDto in Backend

Image

AddressDto generated by orval

Image

Image

Image

An AddressDtoStreat file was created instead of placed inline string | null.

Is there any setting that changes this behavior?

Version
"orval": "7.4.0"

@melloware melloware added the question Further information is requested label Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants