-
Notifications
You must be signed in to change notification settings - Fork 3
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 support for war files #21
Comments
Hi @anders4work, Sure thing, we can fix anything. :)) Before jumping into coding, do you might sharing your workflow? I just wanna make sure the right thing gets implemented. |
Yes, of course. I am creating a meta-plugin that tries to simplify everything swagger related.
It is a meta plugin so a lot of the heavy lifting of each step is done by programmatically calling a plugin capable of handling the given step. I am currently working on step 3 - and my reference project (for which I would like to use my meta-plugin) happens to be packaged as a war file. So it is a WAR file with a swagger.json file in it. Best, Anders |
Do you need more info from me? |
Hi @anders4work, Thanks, that'll be enough to start playing with it. I'll try to do my best and implement it during the week. Best, |
Hi @anders4work. Let me know if you have any issues with it. |
Works great, thanks a lot! |
@anders4work awesome. Thanks for the feedback. |
Hi,
thanks for a great plugin!
In my case I have the need to use it for a war file. It currently isn't working and I suspect it is because the swagger-brake project is hardcodet to search for a jar file.
See line 42 of https://github.com/redskap/swagger-brake/blob/176a43475b85b7ceff28c253168fb5a600baa685/swagger-brake/src/main/java/io/redskap/swagger/brake/maven/maven2/Maven2UrlFactory.java
I would like to suggest that the packaging type is made optional and that the change is propagated to this project as a configurable option.
Best,
Anders
The text was updated successfully, but these errors were encountered: