servicecomb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wjm wjm <zzz...@gmail.com>
Subject Re: [DISCUSSION java-chassis]scan RestController to to make spring mvc controller publish as ServiceComb Rest easier
Date Sat, 27 Oct 2018 03:05:40 GMT
+1

but, what's default value of servicecomb.rest.service.scanRestController
if to be true, then can make spring mvc controller publish as ServiceComb
Rest easier, but maybe not compatible
but if to be false, then this feature is not so useful?

bismy <bismy@qq.com> 于2018年10月27日周六 上午10:57写道:

> Hi all,
>
>
> I am going to implement a feature that scan beans with @RestController
> annotation, and taken it same as:
>   1. @RestSchema(schemaId = class.getName())
>   2. @RequestMapping("/")
>
>
> Consider some users want to make use of both spring mvc controller and
> ServiceComb REST, we add a configuration
>    servicecomb.rest.service.scanRestController
> to turn off this feature.
>
>
> Any suggestions?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message