On Friday, 28 April 2017 03:51:15 UTC+2, Ron wrote:
>
> What you’re saying doesn’t make sense.
>

really? that's not the feeling I had when I said it. Sorry about that, I 
must be misunderstanding something.

>  
>
> The model describes property names and their types. `a map lang -> label` 
> is not a type.
>

Hmm, docs about io.swagger.annotations.ApiModel.description() says: 
"Provide a longer description of the class." Isn't `a map lang -> label` a 
longer description of the class? Insn't it... the "type" that has to 
contain, well, a type?

Anyway, back to the core of my original question: how can I use annotations 
to have generated, among the "definitions" in in swagger.json, a slot 
"Labels" (in order to be able to have references such as: "$ref": 
"#/definitions/Labels" in the description of the service)?

Hope that this makes sense

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