Closed jamesrweb closed 6 months ago
I also see that cases such as Agent and their related validations are not correctly generated also, for example lengths or ranges don't seem to be tested, only that the field exists.
This should be resolved by #80
I also see that cases such as Agent and their related validations are not correctly generated also, for example lengths or ranges don't seem to be tested, only that the field exists.
Moving this to it's own issue as it seems worth discussing more, and it separate from bad code gen.
Works like a charm 👍🏻!
When generating the
SpaceTraders
API from their spec, the generated output is invalid. For example some types have no definitions.Command:
Example of the issue:
Also there are cases such as- Striked out as this is an issue with their own types in the spec.type alias ActivityLevel = String
but this type should be limited to the 4 valid valuesWEAK
,GROWING
,STRONG
,RESTRICTED
as documented in the spec.Notes:
No errors are thrown during generation but warnings about
Warning: Error! Multiple security requirements
but this is expected? I suppose this is something being worked on still, or what's the plan for security topics?