Is it Possible to Use the Swagger Feature with Other Than HTTP Transports, like the Direct Transport?
Issue
We have a large number of REST services that are annotated for documentation and would like to avoid having to expose every service via an HTTP transport. We would like the capability to use transports like the direct transport to pass requests to the services (both for scalability and to minimize the security footprint for the applications). We would also like to leverage SwaggerFeature to service api / documentation request passed to the services. We are getting NullPointerExceptions, due to missing ServletContexts when trying to expose api documentation via the direct transport. Is it possible to leverage SwaggerFeature without an HTTP transport?
Environment
- Red Hat JBoss Fuse 6.2
- Red Hat JBoss Fuse 6.2.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
