Closed khotyn closed 5 years ago
Users can add swagger dependencies and add com.alipay.sofa.rpc.rest-swagger=true
in applications.properties to enable swagger openapi support, the swagger openapi will be available at http://localhost:8341/swagger/openapi
Merging #131 into master will increase coverage by
0.96%
. The diff coverage is67.27%
.
@@ Coverage Diff @@
## master #131 +/- ##
===========================================
+ Coverage 57.33% 58.3% +0.96%
- Complexity 417 436 +19
===========================================
Files 54 56 +2
Lines 1751 1806 +55
Branches 313 318 +5
===========================================
+ Hits 1004 1053 +49
- Misses 541 548 +7
+ Partials 206 205 -1
Impacted Files | Coverage Δ | Complexity Δ | |
---|---|---|---|
...oot/swagger/SwaggerServiceApplicationListener.java | 100% <100%> (ø) |
3 <3> (?) |
|
...ay/sofa/rpc/boot/SofaBootRpcAutoConfiguration.java | 95.45% <100%> (+0.21%) |
15 <1> (+1) |
:arrow_up: |
...ipay/sofa/rpc/boot/swagger/SwaggerServiceImpl.java | 56.41% <56.41%> (ø) |
9 <9> (?) |
|
...ay/sofa/rpc/boot/config/SofaBootRpcProperties.java | 56.65% <66.66%> (+0.15%) |
89 <1> (+1) |
:arrow_up: |
...sofa/rpc/boot/container/ServerConfigContainer.java | 83.33% <0%> (+0.5%) |
45% <0%> (+1%) |
:arrow_up: |
...ipay/sofa/rpc/boot/runtime/binding/RpcBinding.java | 39.34% <0%> (+1.63%) |
15% <0%> (+1%) |
:arrow_up: |
...fa/rpc/boot/runtime/adapter/RpcBindingAdapter.java | 42.37% <0%> (+15.25%) |
6% <0%> (+2%) |
:arrow_up: |
.../sofa/rpc/boot/runtime/param/RestBindingParam.java | 100% <0%> (+50%) |
2% <0%> (+1%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update be0449b...bc6dd98. Read the comment docs.
we will not change version to stable version number until we prepare to release, so we can release some snapshot for test.
@leizhiyuan You mean sofaboot-dependencies
's version?
ok, I see,sofaboot-dependencies 310 has released four days ago.
after ci,I will merge this pr to master
Add swagger support for SOFARPC restful services.