0

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.

Ronny Shibley
  • 2,030
  • 22
  • 25

1 Answers1

1

Actually i was able to rename my Api's using the tags property inside @Api

@Api(tags='NiceName')
public class myapi {...}
Ronny Shibley
  • 2,030
  • 22
  • 25