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

Allow configuring the filename scanned from maven #18

Closed
dalewking opened this issue Apr 12, 2019 · 1 comment
Closed

Allow configuring the filename scanned from maven #18

dalewking opened this issue Apr 12, 2019 · 1 comment
Labels

Comments

@dalewking
Copy link

As the documentation says:

The downloaded JAR will be scanned for any of the following files which will be used for providing the old API:

  • swagger.json
  • swagger.yaml
  • swagger.yml

I don't want swagger used in the name, since my file is an open api file and I prefer to maintain the distinction between swagger and openApi. I am proposing a new config property to set the base name of the file to look for that defaults to "swagger". Swagger brake then looks for a file with that base name with the extension .json, .yaml, or .yml

@galovics
Copy link
Member

@dalewking will be released in the next version.

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