Reputation: 2155
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.
Upvotes: 0
Views: 473
Reputation: 2155
Actually i was able to rename my Api's using the tags property inside @Api
@Api(tags='NiceName')
public class myapi {...}
Upvotes: 1