It’s most likely because of the usage of `allOf`, we have a few bugs around 
that.

 

 

 

From: <[email protected]> on behalf of chilmers 
<[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Thursday, 8 June 2017 at 6:48
To: Swagger <[email protected]>
Subject: Description doesn't show in Swagger-UI

 

Hi does anyone know why the bar property in the following example doesn't show 
a description in swagger-ui? 



{ "definitions": { "FOO": { "type": "object", "properties": { "bar": { 
"description": "THIS DESC DOES NOT SHOW UP IN THE UI", "type": "object", 
"allOf": [ { "$ref": "#/definitions/SomeOtherDef" } ] }, "baz": { "type": 
"object", "description": "THIS DESC SHOWS UP IN THE UI", "properties": { "quz": 
{ "type": "string" } } } } } } }



Also available here: https://thepasteb.in/p/nZhlBno5mMESY

 

-- 
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 [email protected].
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to