swagger-api/swagger-codegen

Markdown supported in swagger-editor but not swagger-codegen

开放

#1,203 创建于 2015年9月8日

 (3 条评论) (0 个反应) (0 位负责人)HTML (5,474 个派生)batch import
Enhancement: Featurehelp wanted

仓库指标

星标
 (12,701 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

I can use Markdown in several places in my API spec (in YAML) to enter detailed descriptions, and swagger-editor will interpret it and display it correctly. However, when I put the resulting spec (in JSON) into swagger-codegen, it doesn't convert the markdown while generating a static HTML page. As far as I can tell, swagger-codegen doesn't accept YAML, so the end result is that I have to do extensive reformatting to convert my spec to HTML documentation. This has to be fixed.

贡献者指南