fix: add expected structure example to api pane based on the new validation structure (#6886)

This commit is contained in:
Tolulope Adetula 2021-09-06 15:57:15 +01:00 committed by GitHub
parent 31180a4b28
commit ffe7b1f9e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ const DynamicDropdownFieldWrapper = styled.div`
const expected = {
type: FIELD_VALUES.API_ACTION.params,
example: "",
example: "string",
autocompleteDataType: AutocompleteDataType.STRING,
};

View File

@ -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,
};