servicecomb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bismy" <bi...@qq.com>
Subject [DISCUSSION java-chassis]scan RestController to to make spring mvc controller publish as ServiceComb Rest easier
Date Sat, 27 Oct 2018 02:57:16 GMT
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, 8-Bit, 0 bytes)
View raw message