yakworks / gorm-rest-api

Grails restful api helpers to make gorm domains rest api enabled
https://yakworks.github.io/gorm-rest-api/
Apache License 2.0
1 stars 2 forks source link

Generate Sample/Example json from the domain / json-schema #6

Open basejump opened 7 years ago

basejump commented 7 years ago

This is related to #1. We have enough info to generate a valid json object for both our test so it can automatiacally be done like in the ProjectRestApiSpec RestApiFuncSpec. So during the json-schema generation it can also generate an example.

This look interesting and we may want to lean on it, http://json-schema-faker.js.org/#gist/eb11f16c9edccf040c028dc8bd2b1756