cancel
Showing results for 
Search instead for 
Did you mean: 

distribute multiple Endpoints over multiple maven modules and make Swagger detect them

SOLVED
Highlighted
New Member

distribute multiple Endpoints over multiple maven modules and make Swagger detect them

The current setting:

- 1 maven module containing several Swagger annotated java interfaces

- 1 maven module implementing all the interfaces properly in several classes (spring annotated @RestController)

 

The goal:

- split both modules into several modules

- import certain modules for certain servlets and automatically provide tailored Swagger-HTML-UI-documentation

 

Currenly I do not know how to manage it. We extracted some api-modules and the according impl-modules, but when I import them into my service, the endpoints/resources do not appear in the documentation although the REST APIs are available and working properly. I only see the endpoints that are defined in the two "core"-modules (see "current setting"). I do not have a spring boot setting, but plain webservices using tomcat and some spring magic.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Moderator

Re: distribute multiple Endpoints over multiple maven modules and make Swagger detect them

Since you've mentioned Spring, I assume you use Springfox.

Springfox is not one of our projects and we're not familiar with it enough to provide support for it. Your best bet is to file a ticket with the project.


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓

View solution in original post

1 REPLY 1
Highlighted
Moderator

Re: distribute multiple Endpoints over multiple maven modules and make Swagger detect them

Since you've mentioned Spring, I assume you use Springfox.

Springfox is not one of our projects and we're not familiar with it enough to provide support for it. Your best bet is to file a ticket with the project.


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors