有谁知道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 :(