如图,在springMVC中,@requestmapping是起到了接受view层的url,再根据requestmapping的value来确认的那个方法的作用,那么@api和@ApiOperation的作用是什么呢?return中的ok().headers是网页的url路径吗
业精于勤,荒于嬉;行成于思,毁于随。
@Api和@ApiOperationIt’s not a Spring thing, it’s a swagger thing. See the reference link here.
@Api
@ApiOperation
@Api
和@ApiOperation
It’s not a Spring thing, it’s a swagger thing. See the reference link here.