Here is the snippet of code:
/getappsettings:
get:
summary: Gets the collection of app settings.
responses:
200:
description: The successful get app settings response.
schema:
type: array
items:
$ref: '#/definitions/KeyValueType'
example:
- key: 'APP_SUPPORT_EMAIL_ADDRESS'
value: 'test@example.com'
- key: 'APP_SUPPORT_PHONE_NUMBER'
value: '08 9123 4567'
In the mocked API from SwaggerHub, it returns an empty array.