At the moment the Forge (and most other similar generators) are lax in their handling of returned data. More specifically, if a model object has a required property, this is not enforced by the generated code.
It might be useful to have an option (potentially at runtime not generation-time) where invalid responses result in exceptions, or some other error message.
At the moment the Forge (and most other similar generators) are lax in their handling of returned data. More specifically, if a model object has a required property, this is not enforced by the generated code.
It might be useful to have an option (potentially at runtime not generation-time) where invalid responses result in exceptions, or some other error message.