fix: Consistent multipart form handling and @contentType support in examples (#6325)

* fix: multiline multipart items within multipart within response example

* change multiline  editor to single line fot contentType

---------

Co-authored-by: Bijin A B <bijin@usebruno.com>
This commit is contained in:
sanish chirayath
2025-12-11 01:17:39 +05:30
committed by GitHub
parent 1ed957978a
commit b61d2212f6
11 changed files with 240 additions and 41 deletions

View File

@@ -8,6 +8,7 @@ import { updateResponseExampleMultipartFormParams } from 'providers/ReduxStore/s
import mime from 'mime-types';
import path from 'utils/common/path';
import MultiLineEditor from 'components/MultiLineEditor';
import SingleLineEditor from 'components/SingleLineEditor';
import StyledWrapper from './StyledWrapper';
import FilePickerEditor from 'components/FilePickerEditor';
import Table from 'components/Table-v2';
@@ -206,7 +207,7 @@ const ResponseExampleMultipartFormParams = ({ item, collection, exampleUid, edit
</td>
<td>
<div className="flex items-center justify-center pl-4">
<MultiLineEditor
<SingleLineEditor
onSave={() => {}}
theme={storedTheme}
placeholder="Auto"