Describe the bug
When attempting to generate the SDK for API V0.2.0 alpha, generated code does not consider the oneOf or anyOf properties (for example in the time_workload of cloud usage in https://dev.api.boavizta.org/docs#/cloud/instance_cloud_impact_v1_cloud_aws_post)
Known bug in open-api generator:
Maybe we could try a alternative sdk generator:
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
Generate an enum with the different variants of time_workload (a f32 or a list of workload_time structs) instead of an empty struct.
Additional context
Add any other context about the problem here.
Describe the bug
When attempting to generate the SDK for API V0.2.0 alpha, generated code does not consider the oneOf or anyOf properties (for example in the
time_workloadof cloud usage in https://dev.api.boavizta.org/docs#/cloud/instance_cloud_impact_v1_cloud_aws_post)Known bug in open-api generator:
oneOfis mapped into a struct instead of enum OpenAPITools/openapi-generator#9497Maybe we could try a alternative sdk generator:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Generate an enum with the different variants of time_workload (a
f32or a list ofworkload_timestructs) instead of an empty struct.Additional context
Add any other context about the problem here.