ryankennedy / swagger-jaxrs-doclet

Apache License 2.0
87 stars 136 forks source link

Inject a header to be rendered #46

Open astubbs opened 11 years ago

astubbs commented 11 years ago

Would be great to be able to inject a header html block to be rendered for every page. Also, potentially render package overview files?

astubbs commented 11 years ago

Basically support the stuff talked about here:

https://groups.google.com/forum/#!topic/swagger-swaggersocket/mV6ivxDSJVI

val info = ApiInfo( title = "Swagger Sample App", description = """This is a sample server Petstore server. You can find out more about Swagger at http://swagger.wordnik.com or on irc.freenode.net, #swagger.""", termsOfServiceUrl = "http://helloreverb.com/terms/", contact = "api...@wordnik.com", license = "Apache 2.0", licenseUrl = "http://www.apache.org/licenses/LICENSE-2.0.html")>

decbis commented 11 years ago

+1

It would be very useful to have control over the generated HTML.

jschwartz73 commented 11 years ago

This should be fixed with the pull request in #53