swagger-api/swagger-codegen

Markdown supported in swagger-editor but not swagger-codegen

Aberta

#1.203 aberto em 8 de set. de 2015

 (3 comentários) (0 reação) (0 responsável)HTML (5.474 forks)batch import
Enhancement: Featurehelp wanted

Métricas do repositório

Stars
 (12.701 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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.

Guia do colaborador