I tried to use @Api and @ApiModel to rename my api reference but nothing seems to work. It always takes the class name. Im using swagger2 + springfox 2.4 + springboot.
Please paste your code so that we can better understand your problem.
– Sampada
1 Answers
1
votes
Actually i was able to rename my Api's using the tags property inside @Api
@Api(tags='NiceName')
public class myapi {...}
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more