跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://docs.aihubmix.com/llms.txt

Use this file to discover all available pages before exploring further.

ParamField components help define the parameters for your APIs or SDKs. Adding a ParamField will automatically add an API Playground.
param
string
必填
An example of a parameter field
<ParamField path="param" type="string">
  An example of a parameter field
</ParamField>

Props

query, path, body, or header
string
Whether it is a query, path, body, or header parameter followed by the name
type
string
Expected type of the parameter’s valueSupports number, string, bool, object.Arrays can be defined using the [] suffix. For example string[].
required
boolean
Indicate whether the parameter is required
deprecated
boolean
Indicate whether the parameter is deprecated
default
string
Default value used by the server if the request does not provide a value
initialValue
any
Value that will be used to initialize the playground
placeholder
string
Placeholder text for the input in the playground
children
string
Description of the parameter (markdown enabled)