Thanks for the info! I will take a look at the issues regarding `allOf` to follow the progress.
Den torsdag 8 juni 2017 kl. 19:26:30 UTC+2 skrev Ron: > > It’s most likely because of the usage of `allOf`, we have a few bugs > around that. > > > > > > > > *From: *<[email protected] <javascript:>> on behalf of > chilmers <[email protected] <javascript:>> > *Reply-To: *"[email protected] <javascript:>" < > [email protected] <javascript:>> > *Date: *Thursday, 8 June 2017 at 6:48 > *To: *Swagger <[email protected] <javascript:>> > *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] <javascript:>. > 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.
