Skip to content

Commit ba8a3af

Browse files
committed
Remove initial value and edit description of default
1 parent 08e2539 commit ba8a3af

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

components/fields.mdx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Fields"
33
description: "Set parameters for your API or SDK references"
4-
icon: 'letter-text'
4+
icon: "letter-text"
55
---
66

77
There are two types of fields: Parameter Fields and Response Fields.
@@ -47,7 +47,8 @@ A `ParamField` component is used to define the parameters for your APIs or SDKs.
4747

4848
Supports `number`, `string`, `bool`, `object`.
4949

50-
Arrays can be defined using the `[]` suffix. For example `string[]`.
50+
Arrays can be defined using the `[]` suffix. For example `string[]`.
51+
5152
</ParamField>
5253

5354
<ParamField body="required" type="boolean">
@@ -59,11 +60,7 @@ A `ParamField` component is used to define the parameters for your APIs or SDKs.
5960
</ParamField>
6061

6162
<ParamField body="default" type="string">
62-
Default value used by the server if the request does not provide a value
63-
</ParamField>
64-
65-
<ParamField body="initialValue" type="any">
66-
Value that will be used to initialize the playground
63+
Default value populated when the request value is empty
6764
</ParamField>
6865

6966
<ParamField body="placeholder" type="string">

0 commit comments

Comments
 (0)