Skip to content

Commit 26d75e9

Browse files
authored
Updates the type of "default" in ParamField to be "any" (#976)
1 parent a6146d2 commit 26d75e9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

components/fields.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ The `<ParamField>` component is used to define parameters for your APIs or SDKs.
2323
### Properties
2424

2525
<ParamField body="query, path, body, or header" type="string">
26-
Whether the parameter is a query, path, body, or header. Followed by the parameter name.
26+
Whether the parameter is a query, path, body, or header. Followed by the
27+
parameter name.
2728
</ParamField>
2829

2930
<ParamField body="type" type="string">
@@ -43,7 +44,7 @@ Arrays can be defined using the `[]` suffix. For example `string[]`.
4344
Indicate whether the parameter is deprecated.
4445
</ParamField>
4546

46-
<ParamField body="default" type="string">
47+
<ParamField body="default" type="any">
4748
Default value populated when the request value is empty
4849
</ParamField>
4950

0 commit comments

Comments
 (0)