ParamField components help define the parameters for your APIs or SDKs. Adding a ParamField will automatically add an API Playground.
An example of a parameter field
Props
Whether it is a query, path, body, or header parameter followed by the name
Expected type of the parameter’s valueSupports
number, string, bool, object.Arrays can be defined using the [] suffix. For example string[].Indicate whether the parameter is required
Indicate whether the parameter is deprecated
Default value used by the server if the request does not provide a value
Value that will be used to initialize the playground
Placeholder text for the input in the playground
Description of the parameter (markdown enabled)