Hi,
hawtio-swagger-ui is used only in Red Hat JBoss Fuse products, so you
should ask Red Hat Support or the JBoss Fuse Forum below:
https://developer.jboss.org/en/products/fuse
I suspect that hawtio-swagger-ui might not work with swagger-java though
(which should work well with the scala version of swagger 1.x).
On Fri, Aug 4, 2017 at 2:47 AM, renalexster wrote:
> I'm using Jboss Fuse 6.3 and having problem to use hawtio-swagger. Only
> works
> with version of swagger spec 1.2 (DefaultCamelSwaggerServlet), but when
> using camel-swagger-java:2.17.0.redhat-630187 doesn't work.
>
> Using DefaulCamelSwaggerServlet (camel-swagger)
>
> interface="javax.servlet.http.HttpServlet" ref="swaggerServlet">
>
>
>
>
>
>
>
>
>
>
>
>
> class="org.apache.camel.component.swagger.DefaultCamelSwaggerServlet"/>
>
> Using camel-swagger-java:
>
> restConfiguration().contextPath("/ati-nta/rest").component("servlet").
> dataFormatProperty("prettyPrint",
> "true")
> .host("0.0.0.0").port(8181).apiContextPath("/api-docs")
> .apiProperty("init.base.path", "ati-nta/rest")
> .apiProperty("init.api.path", "/api-docs")
> .apiProperty("init.api.description", "Serviços de consulta NAJ -
> www.gestaonaj.pe.gov.br")
> .apiProperty("api.title", "NAJ REST service")
> .apiProperty("api.version", "1.0.0")
> .apiProperty("cors", "true");
>
>
> The hawtio-swagger works in first case, but not in second.
>
> 1. camel-swagger
> <http://camel.465427.n5.nabble.com/file/n5809544/swagger-docs1.png>
>
> 2. camel-swagger-java
>
> <http://camel.465427.n5.nabble.com/file/n5809544/swagger-docs2.png>
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.
> com/fabric-hawtio-swagger-swagger-version-tp5809544.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>