dangdangdotcom / dubbox

Dubbox now means Dubbo eXtensions, and it adds features like RESTful remoting, Kyro/FST serialization, etc to the Dubbo service framework.
http://dangdangdotcom.github.io/dubbox
Apache License 2.0
4.89k stars 2.06k forks source link

Is it a plan to support SwaggerUI directly? #79

Open kimmking opened 8 years ago

kimmking commented 8 years ago

Is it a plan to support SwaggerUI directly?

chengdedeng commented 8 years ago

这个我测试过,目前不支持,因为内部的动态代理导致Swagger的那个注解不能被扫描到,并且这个改动还稍微有点复杂,如果实在需要就别通过dubbox来暴露REST。。

kimmking commented 8 years ago

In fact, we can do it directly.

fengzide2013 commented 8 years ago

how to do it?

fengzide2013 commented 8 years ago

I have done it successfully.

kiaklu commented 8 years ago

dubbox暴露的rest怎么配才能被swagger扫到呢?求解

kiaklu commented 8 years ago

@fengzide2013 你怎么做到的呢