tianxiaoliang commented on a change in pull request #117: URL: https://github.com/apache/servicecomb-mesher/pull/117#discussion_r420171883
########## File path: proxy/protocol/dubbo/server/server.go ########## @@ -159,3 +165,39 @@ func (d *DubboServer) AcceptLoop(l *net.TCPListener) { defer l.Close() } + +// initSchema is a method to ini the schema ids +func initSchema() { + m := make(map[string]string, 0) + service := config.MicroserviceDefinition + if len(service.ServiceDescription.Schemas) == 0 { + return + } + + for _, inter := range service.ServiceDescription.Schemas { + if len(inter) == 0 { + openlogging.GetLogger().Warnf("interfaces is empty") + continue + } + schemaContent := struct { Review comment: 没必要留open api相关的冗余信息,简化数据 ---------------------------------------------------------------- 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: us...@infra.apache.org