Great. So that would translate to:
Labels {
< * >: string
}
What would you like to do additionally? Add a description to ‘Labels’ to
explain the key to value?
From: <[email protected]> on behalf of François-Paul
Servant <[email protected]>
Reply-To: "[email protected]"
<[email protected]>
Date: Friday, 28 April 2017 at 11:53
To: Swagger <[email protected]>
Subject: Re: java annotations and definition of Maps
> Forget swagger for a moment, and forget the code – what is the data structure
> you are trying to describe?
a Map(String, String), where the keys are languages (ISO 639-1 codes), and the
values are a label in the corresponding lang
On Friday, 28 April 2017 20:41:37 UTC+2, Ron wrote:
It is a longer description, but what you see in the rendering is the structure
of the model, {property name} -> {property type} so what you expect from the
rendering doesn’t make sense.
Forget swagger for a moment, and forget the code – what is the data structure
you are trying to describe?
--
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.