You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/03/25 10:45:06 UTC

[GitHub] [servicecomb-service-center] zhangchi02 opened a new issue #919: 调用服务契约能否返回json格式的swagger

zhangchi02 opened a new issue #919:
URL: https://github.com/apache/servicecomb-service-center/issues/919


   调用查询服务契约的接口返回值为{“schema”:"swagger"},该swagger值为yaml格式
   
   拷贝到editor.swagger.io无法正常解析
   
   能否返回json格式的swagger


-- 
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:
users@infra.apache.org



[GitHub] [servicecomb-service-center] little-cui commented on issue #919: 调用服务契约能否返回json格式的swagger

Posted by GitBox <gi...@apache.org>.
little-cui commented on issue #919:
URL: https://github.com/apache/servicecomb-service-center/issues/919#issuecomment-856884378


   后续可以支持,通过客户端传Http header,Accept: applicaiton/yaml来控制返回内容


-- 
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:
users@infra.apache.org