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
This works fine in 7.3.0.
The example file in the repo is a snippet and cleansed version of the real schema that we are using, so altering the schema to work isn't really an option.
What are the steps to reproduce this issue?
allOf
and anallOf
array within it: https://github.com/Kikketer/orval-fail/blob/main/failure.openapi.yaml#L34...data:
portionsWhat happens?
error TS1005: ',' expected
The output will be invalid TS: https://github.com/Kikketer/orval-fail/blob/main/__generated__/api.mock.ts#L64
What were you expecting to happen?
Valid typescript files to be generated.
Any logs, error output, etc?
But the problem is deeper in that
is invalid typescript
Any other comments?
This works fine in 7.3.0.
The example file in the repo is a snippet and cleansed version of the real schema that we are using, so altering the schema to work isn't really an option.
What versions are you using?
System:
OS: macOS 15.1.1
CPU: (12) arm64 Apple M3 Pro
Memory: 456.81 MB / 36.00 GB
Shell: 5.9 - /bin/zsh
npmPackages:
orval: 7.4.1 => 7.4.1
The text was updated successfully, but these errors were encountered: