Skip to main content
The <ResponseField> component is designed to define the return values of an API. Many docs also use <ResponseField> on pages when you need to list the types of something.
string
required
A response field example

Props

string
required
The name of the response value.
string
required
Expected type of the response value
string
The default value.
boolean
Show “required” beside the field name.