问题描述
有人知道swagger-doclet的类比,但是与JDK 14兼容吗?
此doclet通过javax.ws.rs
批注和javadocs生成swagger规范,并且不需要swagger批注
例如,我有这样的端点:
/**
* Receives sync requests from the clients and puts the received event to the queue with partition key based on the user's id.
*
* @param thriftRequest user's event
* @return the number of users in the saved event.
*/
@POST
@Path("/notifications")
@Timed
public TNotificationsResponse notifications(final TNotificationsRequest thriftRequest) {
...
}
我尝试了swagger-core
,但它生成的规范忽略了javadocs:(
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)