swagger-mock-api
swagger-mock-api copied to clipboard
ObjectParser did not support additionalProperties
Thx for this repo. I used the yaml file which generated by openapi-generator-maven-plugin to start mock server.
But the ObjectParse did not support additionalProperties. The modify of ObjectParse is below:
if (schema.additionalProperties) { ret[chance.string()] = this.parser.parse(scheme); }
Also need to modify the canParse method to support additionalProperties.
@dzdrazil Thx