Open
Description
With complex, heavily nested payloads some people have found the table of fields that's currently produced by the request and response fields snippets a little difficult to use when trying to determine the structure.
A suggestion has been to reflect the nesting in the documentation, ideally with collapsible sections. A relatively simple, albeit without collapsible sections, approach would be something like this:
{
"userName": String,
"name": {
"familyName": String,
"givenName": "String
},
"phoneNumbers": [ {
"value": String
} ],
"emails": [ {
"value": String,
"primary": Boolean
} ],
"active": Boolean,
"verified": Boolean,
"origin": String,
"externalId": String
}