The microservices A, B and C expose functional specific rest endpoints.
However, the admin module exposes common rest endpoints for resilience, robustness and recovery.
In order to document our APIs, we are using swagger 2.0 with the maven swagger plugin.
The pom.xml that we are using for each microservice looks like:
Problem : The maven plugin isn't scanning the rest endpoints at the admin module level even by specifying explicitly the admin package in the maven swagger plugin <location>.
We have a maven multimodule project which looks approximatively like that:
The microservices A, B and C expose functional specific rest endpoints. However, the admin module exposes common rest endpoints for resilience, robustness and recovery.
In order to document our APIs, we are using swagger 2.0 with the maven swagger plugin.
The
pom.xml
that we are using for each microservice looks like:MicroserviceA:
MicroserviceB:
MicroserviceC:
Problem : The maven plugin isn't scanning the rest endpoints at the admin module level even by specifying explicitly the admin package in the maven swagger plugin
<location>
.PS: I've tried several version of maven plugin.
Is there any solution?