JakubOnderka / api-blueprint-validator

Apiary API Blueprint Validator
MIT License
18 stars 16 forks source link

[Request] Add flag to allow fail on warning #7

Closed zakhenry closed 8 years ago

zakhenry commented 9 years ago

In some cases the warning are actually fatal to the output of the api-blueprint parser (apiary for example).

Proposal to add a --fail-on-warning=false flag to the tool so that users can decide whether they want to be more restrictive with their validation (I have this validation tool as a part of my automated CI build, and it returns 0 when there are warnings).

From looking at the source code it looks like this might need to be a feature added to protagonist.

zakhenry commented 8 years ago

Closed in https://github.com/JakubOnderka/api-blueprint-validator/pull/9