- @Api: used in the requested class represents the class description
tags = "class effect explanatory notes, can be seen on the UI screen"
Description = "Description"
, such as:
@Api(tags = "第一个Controller层",description = "用来测试数据")
2. @ ApiOperation: The method used in the request that the use of the process, the role of
value = "Use of the method described, the role of"
Notes = "Method Remarks"
@ApiOperation(value = "Hello",notes = "返回一个hello")
3. @ ApiModel: in response to the class information indicating a returned response data
@ApiModel("用于封装后台放回结果,规定一个数据结构")