Hi Tom,

 

That’s a known issue. We have a pending PR that I hope to merge today before 
our release, though I can’t guarantee it will be merged not that it fully 
resolves the issue.

 

 

From: <swagger-swaggersocket@googlegroups.com> on behalf of Tom Johnson 
<tomjohnson1...@gmail.com>
Reply-To: "swagger-swaggersocket@googlegroups.com" 
<swagger-swaggersocket@googlegroups.com>
Date: Friday, 16 June 2017 at 10:29
To: Swagger <swagger-swaggersocket@googlegroups.com>
Subject: Markdown in description properties in Swagger not rendering

 

I'm having trouble getting Markdown to render in the description properties in 
the response object. As I understand it, Markdown is supported by the spec (see 
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#schemaObject).
  

 

I'm working with Swagger 2.0 and using Swagger UI. Here's the Swagger UI 
display: http://idratherassets.com/restapicourse/swagger/. Here's the spec 
file: http://idratherassets.com/restapicourse/swagger/swagger_weather.yml.  

 

Here's a part of the spec where I'm using Markdown:

 

      lastBuildDate:
        type: string
        description: The last time the feed was updated. The format is in the 
date format defined by [RFC822 Section 
5](http://www.rfc-editor.org/rfc/rfc822.txt).
        example: "Wed, 14 Jun 2017 10:30 PM SGT"
 

If you expand the Channels section in the Model of the Swagger UI display, 
you'll see that this Markdown link isn't rendered. Here's a screenshot: 
https://www.screencast.com/t/vw29bXJZi3



I also tried bolding something, but it didn't work either. Any idea what I'm 
doing wrong?



Thanks,



Tom

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to swagger-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to swagger-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to