swagger-exemplar
IN DEVELOPMENT - API NOT STABLE
A module that builds a exemplar JSON objects from OpenAPI (aka swagger) schema objects.
$ npm install swagger-exemplar``` ```javascriptconst Exemplar = require; // object that follows the JSONSchema specconst schema = Exemplar.convert ``` ## Options ```jsonconst defaults = ;``` ## Lab test The project has integration and unit tests. To run the test within the project type one of the following commands.```bash$ lab$ lab -r html -o coverage.html$ lab -r html -o coverage.html --lint$ lab -r console -o stdout -r html -o coverage.html --lint``` ## Issues If you find any issue please file here on github and I will try and fix them.