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 route path exclusion parameter support #36

Closed
omriarnon-s1 opened this issue Aug 24, 2020 · 2 comments
Closed

Add route path exclusion parameter support #36

omriarnon-s1 opened this issue Aug 24, 2020 · 2 comments
Labels

Comments

@omriarnon-s1
Copy link

Currently, we have some Private API's in our spec. They are being broken all the time, but it doesn't bother us.
However, the swagger-brake fails, of course, because it detects breaking changes in the API.

Is it possible to add a parameter for partial path (e.g --exclude-path /api/private) which will exclude these API's from the scan? or at least WARN about them, but not mark the check as 'Not backwards compatible'

@galovics
Copy link
Member

@omriarnon-s1 good idea but can't you rely on using Beta APIs?

@galovics
Copy link
Member

galovics commented Sep 5, 2020

Implemented, will be released in 2.0.1

@galovics galovics added the 2.0.1 label Sep 5, 2020
@galovics galovics closed this as completed Sep 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants