dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

Can remove the strong dependency of swagger in 3.2 branch

Open songxiaosheng opened this issue 2 years ago • 2 comments

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.

Ask your question here

when i use spring boot project start application will throw such exception /dubbo-3.2.0-beta.3-SNAPSHOT.jar!/org/apache/dubbo/rpc/protocol/rest/integration/swagger/DubboSwaggerApiListingResource.class]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: io/swagger/jaxrs/listing/BaseApiListingResource

songxiaosheng avatar Jan 28 '23 14:01 songxiaosheng

Regarding the dependence of swagger, this was introduced in 2018, and it seems that this problem will only be caused when the protocol uses the rest protocol. I think this can be removed

Phixsura avatar Jan 29 '23 11:01 Phixsura

Swagger should be a weak dependency for Dubbo

AlbumenJ avatar Jan 30 '23 03:01 AlbumenJ