I'm having a hard time finding documentation on container types. Suppose my rest method takes a parameter which is a Map of name/value pairs. The specific names are not known in advance, so we can't use a Model. Can I do something like this?
"parameters": [
{
"name": "myMap",
"type": "Map",
"paramType": "body"
}
]
A related question: I've seen sample Swagger specs where the "type" is "array", and others where it's "List". What's the difference?
I cannot find any comprehensive documentation of what's allowed for "type" in the Swagger 1.2 spec.