Forum Discussion
Prasanna_Ailuri
New Contributor
Hi frankkilcommins ,
We have an endpoint which returns objects as an array of below mentioned JSON:
{
"value": "a12345",
"$ref": "https://example.com/v3/Resources/a12345",
"display": "Resource-a12345"
}
Thanks,
Prasanna
Prasanna_Ailuri
3 years agoNew Contributor
paths:
/users:
get:
summary: Returns a list of users.
description: Optional extended description in CommonMark or HTML.
responses:
'200': # status code
description: A JSON array of user names
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Response'
components:
schemas:
Response:
type: object
properties:
id:
type: string
meta:
type: array
items:
$ref: '#/components/schemas/Metadata'
Metadata:
required:
- value
type: object
properties:
value:
type: string
display:
type: string
$ref:
type: string
Related Content
- 4 years ago
Recent Discussions
- 7 days ago
- 7 days ago
- 24 days ago