ResponseCard
DomainCollapsible card for a single API response showing the status code, description, and response body schema.
application/json
objectA user account object
id*string(uuid)Unique identifier
email*string(email)Email address
name*string
minLength: 1maxLength: 100
roleenumUser role
"admin""editor""viewer"createdAtstring(date-time)
activebooleandefault:
true<ResponseCard
response={{
statusCode: '200',
description: 'Successful response',
content: { 'application/json': { schema: userSchema } },
}}
defaultOpen
/>application/json
object
dataarray[object]
totalintegerTotal items
pageinteger
pageSizeinteger
{responses.map((r) => (
<ResponseCard key={r.responseId} response={r} defaultOpen={r.statusCode.startsWith('2')} />
))}