Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add form-data format with string, file and file Array #43

Merged
merged 4 commits into from
Feb 28, 2024

Conversation

zorox112-practicum
Copy link

@zorox112-practicum zorox112-practicum marked this pull request as ready for review February 20, 2024 10:41
return <Column gap={10}>
<Text variant="header-1">{TextEnum.BODY_INPUT_LABEL}</Text>
{
Object.keys(properties).map(key => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bring out the logic

bodyJson,
bodyFormData,
}: {
bodyType?: string;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make type from it

@@ -9,7 +9,8 @@ export type FormState = {
path: Record<string, string>;
search: Record<string, string>;
headers: Record<string, string>;
body: string | undefined;
bodyJson: string | undefined;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bodyJson?: string

@v8tenko v8tenko merged commit 9c7ba51 into diplodoc-platform:master Feb 28, 2024
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants