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

Add -c/--fail-on-critical flag to api:validate command #284

Merged

Conversation

CalemRoelofsSB
Copy link
Contributor

@CalemRoelofsSB CalemRoelofsSB commented Mar 9, 2023

This PR adds the -c/--fail-on-critical flag to the api:validate command.
When this flag is present, if there are critical standardization errors present in the referenced definition, the CLI with exit with error code 1.
Also slight refactor of the existing tests for api:validate command.

barryadk
barryadk previously approved these changes Mar 9, 2023
@CalemRoelofsSB CalemRoelofsSB changed the title Add -c/--failOnCritical flag to api:validate command Add -c/--fail-on-critical flag to api:validate command Mar 9, 2023
@CalemRoelofsSB CalemRoelofsSB merged commit 669ba18 into master Mar 10, 2023
@CalemRoelofsSB CalemRoelofsSB deleted the feature/add-failOnCritical-flag-to-api-validate branch March 10, 2023 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants