Open FLemon opened 8 years ago
@richhollis can you have a look at this PR fix please :)
@richhollis just to follow up this PR, I am keen to know if the fix is not appropriate, is there something i missed, looking forward to hear from you about your thoughts, thank you
hello @richhollis , just to follow up this PR, is this something else you would want to check/done with this PR?
@richhollis ^...wondering if this PR still valid?
Before the fix, the generator is assigning null to
required
field, which raises errorThis fix will instead not to create a
required
field for the json, as to match the way how swagger_ui has done it, see https://github.com/swagger-api/swagger-ui/blob/master/test/specs/v1.2/petstore/store.json#L113