jetplugins / apidocx

Generate API documents to any place: YApi, RAP2, Eolink, etc.
https://plugins.jetbrains.com/plugin/17425-apidocx/
Apache License 2.0
177 stars 39 forks source link

类上@RequestMapping注解没有method时会报错 #45

Closed NotEdibleSalt closed 1 year ago

NotEdibleSalt commented 1 year ago

image

类上@RequestMapping注解没有method的值,在调用HttpMethod的of方法时会抛出空指针。需要在.map(HttpMethod::of)前面过滤空字符串

lkqm commented 1 year ago

实际会遇到吗?我这边测试了不会报错

NotEdibleSalt commented 1 year ago

实际会遇到吗?我这边测试了不会报错

会遇到,但不是所有接口都会出现。

lkqm commented 1 year ago

行 后续会修复这个问题

NotEdibleSalt commented 1 year ago

行 后续会修复这个问题

好的好的