0.0.2 • Published 8 years ago
swagger-testcheck v0.0.2
swagger-testcheck
Generates testcheck.js generators from a swagger definition. It only looks at the definitions field in the swagger definition, and creates one generator per definition. For nested definitions (using $ref), the generators are duplicated - this is because $ref can point to other files.
Usage
npm i -g swagger-testcheckswagger-testcheck api-definition.yaml
The command will write the generated javascript to stdout, to save it to a file run swagger-testcheck api.yaml >> generators.js.