跳转到主要内容
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.
response
string
必填
A response field example

Props

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