I\'m struggling with the syntax of swagger to describe a response type. What I\'m trying to model is a hash map with dynamic keys and values. This is needed to allow a local
If you're still in the design stage, instead of using dynamic keys, you can push all the other language references in an array with structure like:
{
"launguage":"en"
"text":"Hello World"
}
That would simplify things a lot, and since you're not relying on additionalProperties
, your generated client libraries will find this easier to digest.