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
Generate an OpenAPI schema that has a component with optional properties, then try and set those properties as required in other item in an allOf, e.g:
What are the steps to reproduce this issue?
allOf
, e.g:What happens?
Notice that the outputted generated types do not specify that uuid, description, start_date and end_date should be required.
What were you expecting to happen?
Like other OpenAPI generators (e.g. oapi-codegen generate these types as required). In this case, it potentially would look something like:
System:
OS: Linux 4.18 Rocky Linux 8.8 (Green Obsidian)
CPU: (4) x64 Intel(R) Xeon(R) Gold 6132 CPU @ 2.60GHz
Memory: 2.16 GB / 11.45 GB
Container: Yes
Shell: 3.6.1 - /usr/bin/fish
npmPackages:
axios: ^1.3.6 => 1.3.6
msw: ^2.2.0 => 2.2.0
orval: ^7.2.0 => 7.2.0
The text was updated successfully, but these errors were encountered: