fix: add expected structure example to api pane based on the new validation structure (#6886)
This commit is contained in:
parent
31180a4b28
commit
ffe7b1f9e8
|
|
@ -108,7 +108,7 @@ const DynamicDropdownFieldWrapper = styled.div`
|
|||
|
||||
const expected = {
|
||||
type: FIELD_VALUES.API_ACTION.params,
|
||||
example: "",
|
||||
example: "string",
|
||||
autocompleteDataType: AutocompleteDataType.STRING,
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ type Props = PostDataProps;
|
|||
|
||||
const expectedPostBody: CodeEditorExpected = {
|
||||
type: FIELD_VALUES.API_ACTION.body,
|
||||
example: "",
|
||||
example: '{\n "color":"blue",\n "isVisible": true \n}',
|
||||
autocompleteDataType: AutocompleteDataType.OBJECT,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user