How can we expose swagger api-docs via swagger ui in Red Hat Fuse 7 ?

Solution Verified - Updated -


  • I am running JBoss Fuse 7.2.
  • I create a Camel project which exposes a REST endpoint via the Camel REST DSL. See attachment.
  • The REST DSL is configured to expose API-Docs in Swagger format.
  • When deploying the application in JBoss Fuse the api-docs are available via the URL http://localhost:8282/v1/corebanking/api-docs
  • This URL outputs raw data. Instead I would like to see the API-Docs in Swagger-UI.
  • Two questions related to that
  1. How can I install Swagger UI in JBoss Fuse 7.2
  2. How can Swagger UI automically pick up the API-Docs generated by Camel Rest DSL
  • To run the example in JBoss Fuse 7.2 install the following features
    camel-undertow, camel-jaxb, camel-jackson, camel-gson, camel-swagger-java and then the bundle.


  • Red Hat Fuse
    • 7.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In