--------------------------------------------
On Fri, 4/28/17, Ron Ratovsky <[email protected]> wrote:

 Subject: Re: java annotations  and definition of Maps
 To: "[email protected]" 
<[email protected]>
 Date: Friday, April 28, 2017, 4:51 AM
 
 #yiv8128083880
 #yiv8128083880 --
  
  _filtered #yiv8128083880 {font-family:Arial;panose-1:2 11 6
 4 2 2 2 2 2 4;}
  _filtered #yiv8128083880 {panose-1:2 4 5 3 5 4 6 3 2 4;}
  _filtered #yiv8128083880 {font-family:Calibri;panose-1:2 15
 5 2 2 2 4 3 2 4;}
 #yiv8128083880  
 #yiv8128083880 p.yiv8128083880MsoNormal, #yiv8128083880
 li.yiv8128083880MsoNormal, #yiv8128083880
 div.yiv8128083880MsoNormal
        {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}
 #yiv8128083880 a:link, #yiv8128083880
 span.yiv8128083880MsoHyperlink
        {color:blue;text-decoration:underline;}
 #yiv8128083880 a:visited, #yiv8128083880
 span.yiv8128083880MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
 #yiv8128083880 p
        {margin-right:0cm;margin-left:0cm;font-size:12.0pt;}
 #yiv8128083880 span.yiv8128083880EmailStyle18
        {font-family:Calibri;color:windowtext;}
 #yiv8128083880 span.yiv8128083880msoIns
        {text-decoration:underline;color:teal;}
 #yiv8128083880 .yiv8128083880MsoChpDefault
        {font-size:10.0pt;}
  _filtered #yiv8128083880 {margin:72.0pt 72.0pt 72.0pt
 72.0pt;}
 #yiv8128083880 div.yiv8128083880WordSection1
        {}
 #yiv8128083880 What you’re
 saying doesn’t make sense.
  The model
 describes property names and their types. `a map lang ->
 label` is not a type.
  
  
  From:
 <[email protected]>
 on behalf of François-Paul Servant
 <[email protected]>
 Reply-To:
 "[email protected]"
 <[email protected]>
 Date: Thursday, 27 April 2017 at
 18:45
 To: Swagger
 <[email protected]>
 Subject: Re: java annotations and
 definition of Maps  Hi,   Given the annotations of the
 TestResource class, I would expect to get the swagger.json
 given at the end of my previous message, and that would give
 me the following regarding the model in the
 ui:Labels {
     description:    a map lang ->
 label
     < * >:    string
 }I'd be happy with that,
 but that's not what I get ("Labels" is not
 generated inside the "definitions" slot in the
 swagger json)  
 On Thursday,
 27 April 2017 00:42:54 UTC+2, Ron wrote: It looks like
 you’re confusing two things. What you see in swagger-ui is
 the model, and in your case, it looks like the `description`
 is not part of the model, it’s metadata to
 it.So what are
 you trying to do? Add another fields called `description` to
 the model described by the user, or are you trying to add a
 description to the model that’s not actually part of
 it?-- 
 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.
  doua zona e Basarabia propnu-zisa in raionul Basarabia nu se presupune nici Q 
actiune de seama Numai la sud  aproape de varsarea Nistrului  -pana la gura 
Dunarii  va trebui sa

-- 
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