Closed aaron-brown closed 10 years ago
Hi Aaron!!
Thank you very much for your contribution. Sorry I did not reply earlier but I was busy having my first child :-)
I will have a quick look and merge as soon as I can.
Cheers mate!
No prob, Congrats.
I will have another separate PR shortly that will make that bean automatically wired, so that users only have to set up the information in the grails-app/conf/Config.groovy
file.
Also, if you are not keen on disabling the JaxRS export, there are two options:
dependsOn
field in the Swagger4jaxrsGrailsPlugin
, which I am going to do in the next PR, that looks like so: dependsOn = [
jaxrs: "0.8 > *"
]
Mentioned pull request is #14.
Hi Aaron, regarding the point 3 of your pull request, I understand that you can always override the version of jax-rs in your host application anyway, and the jax-rs plugin is a mandatory dependency. So I will just upgrade the jax-rs version requirement to >= 0.9 but leaving clear in the doco that you should explicitly include in your host app BuildConfig.groovy the jax-rs version 0.10 dependency declaration if you are using Grails 2.3.x
Since I develop in 2.1.1 for now, I've modified the BuildConfig so that it does a few nifty things: