Components

Response field

Document object properties and schema fields.

Use ResponseField for response body fields, object properties, and similar schema documentation. Nest fields under headings to document nested objects.

Basic usage#

idstringrequired

Unique identifier for the resource.

Optional and deprecated fields#

legacyFieldnumberdeprecated

Removed in a future release.

Properties#

NameTypeDescription
namerequiredstring

Field name.

typestring | number | boolean | null

Type label. HTML entities in string values are decoded before rendering.

requiredboolean

Shows a required badge.

Default: false
deprecatedboolean

Shows a deprecated badge.

Default: false
childrenReactNode

Field description.

Last updated on