You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a new option to the command line tool that allows printing the results directly in json would be nice for use cases where someone wants to script calling lint-open api from another tool. Something like "lint-openapi --json ./path/to/swagger.json"
I have this implemented already and will submit a PR for it.
The text was updated successfully, but these errors were encountered:
Love this idea. Just this morning, I was just watching a demo of another CLI tool that did this and I noted that we should put it in here at some point. Thanks for these contributions!
aspear
added a commit
to aspear/openapi-validator
that referenced
this issue
May 30, 2019
This revision adds a new --json option to the cli-validator that prints the internal
result data in json format to stdout. It does additionally include the line number
as a 'line' field in the JSON (this is not in the internal json data). Automated
test validates that json is received.
ClosesIBM#43
Adding a new option to the command line tool that allows printing the results directly in json would be nice for use cases where someone wants to script calling lint-open api from another tool. Something like "lint-openapi --json ./path/to/swagger.json"
I have this implemented already and will submit a PR for it.
The text was updated successfully, but these errors were encountered: