nerdErg / swagger4jaxrs

This is a Grails plugin that adds Swagger support to document REST APIs of any Grails projects that use the Grails JAX-RS (JSR 311) plugin.
Apache License 2.0
10 stars 10 forks source link

Used context path over GrailsLinkGenerator. #16

Closed aaron-brown closed 10 years ago

aaron-brown commented 10 years ago

The GrailsLinkGenerator actually uses the hostname, which looks a bit weird when deployed to a server on a WAR.

I've changed it to use the contextPath of the request.

aruizca commented 10 years ago

Thanks @aaron-brown :+1: