Ronny Shibley
Ronny Shibley

Reputation: 2155

Swagger2 springboot springfox cannot rename api

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

Answers (1)

Ronny Shibley
Ronny Shibley

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

Related Questions