Hello ,
I have a requirement where I want to list the apis in swagger based on user roles.
For example :- User A with basic access can use limited apis.
User B with Admin access can use all the listed apis.
I don't know how to achieve this. I'm ready to write filter if we can do that as well.
I'm using below mentioned swagger version.
<dependency>
<groupId>com.mangofactory</groupId>
<artifactId>swagger-springmvc</artifactId>
<version>1.0.2</version>
</dependency>
Thanks,
Harsh