merryzsp commented on issue #1946: URL: https://github.com/apache/servicecomb-java-chassis/issues/1946#issuecomment-689963879
> 应该是配置不在servicecomb加载范围内 > 放microservice.yaml即可 > org.apache.servicecomb.swagger.generator.core.TestSwaggerGenerator#testBasePathPlaceHolder,这个特性有自动用例验证的 有两个问题哈: 1、低版本的支持这个能力的,从产品的长期发展来看,应该尽量兼容早期版本的能力,支持spring的配置文件这个能力又不是什么坏事,为什么要去掉呢? 2、从生态上来说,RequestMapping是SpringMvc的注解,它的使用不应该受限于某一个SC契约提取的方式,我觉得写到microservice.yaml的方式并不好,一来是适配的改动较大,二来是接受spring配置文件的能力不是更灵活么 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
