@Target(value=METHOD) @Retention(value=RUNTIME) public @interface ApiOperation
┌─┐ ┌─┐
┌──┘ ┴───────┘ ┴──┐
│ │
│ ─── │
│ ─┬┘ └┬─ │
│ │
│ ─┴─ │
│ │
└───┐ ┌───┘
│ │
│ │
│ │
│ └──────────────┐
│ │
│ ├─┐
│ author:lelouch ┌─┘
│ │
└─┐ ┐ ┌───────┬──┐ ┌──┘
│ ─┤ ─┤ │ ─┤ ─┤
└──┴──┘ └──┴──┘
神兽保佑
代码无BUG!
| 限定符和类型 | 可选元素和说明 |
|---|---|
String |
back
返回
|
boolean |
deprecated
deprecated
|
HTTPMethod |
httpMethod
Method
|
String |
notes
描述
|
ResutlType |
produces
Parameter content type
|
String[] |
tags
标签
|
String |
url
接口地址
|
public abstract String value
public abstract String notes
public abstract String url
public abstract String[] tags
public abstract HTTPMethod httpMethod
public abstract ResutlType produces
public abstract String back
Copyright © 2020. All rights reserved.