Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a "Verbose" flag to provide the detailed information on the response object #40

Closed
salameer opened this issue Nov 20, 2016 · 3 comments

Comments

@salameer
Copy link
Member

I'm suggesting that we add a debug or verbose flag to running the tool to display the detailed errors summary

@amarzavery
Copy link
Contributor

This is already supported. Please use the --json flag to get the detailed json object.

@amarzavery
Copy link
Contributor

amarzavery commented Nov 20, 2016

Updated the help.

Amars-MacBook-Pro:openapi-validation-tools amarz$ node validate.js

Usage: node validate.js [--json]

Commands:

  • spec [--json] | Description: Performs semantic validation of the spec.
  • example [--json] | Description: Performs validation of x-ms-examples and examples present in the spec.

Options:
--json - Provides the json object with detailed status report.

Amars-MacBook-Pro:openapi-validation-tools amarz$

@amarzavery
Copy link
Contributor

#41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants