Currently using Swagger.io to document my API. Trying to understand how to document sending a custom json object.
PUT on a collection to /some_endpoint
MIME: application/json
Custom Data:
[ {"keyA": "a value", "keyB": "b value"}, {"keyA": "a value", "keyB": "b value"} ]
Is it possible to document this in Swagger?
/some_endpoint:
put:
description: |
desc goes here
parameters:
- name: guid
in: query
description:
required: true
type: string
format: string
# Expected responses for this operation
responses:
# Response code
200:
description: Successful response
keyAandkeyBfixed property names or is that a map with arbitrary key names?