java-ee - JAVA的注解@Api和@ApiOperation的作用是什么,怎么跳转页面的
迷茫
迷茫 2017-04-18 10:54:15
0
1
1224


如图,在springMVC中,@requestmapping是起到了接受view层的url,再根据requestmapping的value来确认的那个方法的作用,那么@api和@ApiOperation的作用是什么呢?
return中的ok().headers是网页的url路径吗

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(1)
刘奇

@Api@ApiOperationIt’s not a Spring thing, it’s a swagger thing. See the reference link here.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!