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

Code samples do not generate parameters for multipart/form-data #18

Open
ebrake opened this issue Mar 29, 2022 · 1 comment
Open

Code samples do not generate parameters for multipart/form-data #18

ebrake opened this issue Mar 29, 2022 · 1 comment

Comments

@ebrake
Copy link

ebrake commented Mar 29, 2022

When doing this

requestBody:
    content:
      multipart/form-data:

Instead of this

requestBody:
    content:
      application/json:

Specified fields from the schema are not generated in the code samples

E.g. all I get is this, with no fields:

curl --request POST \
  --url $URL \
  --header 'content-type: multipart/form-data'
@arlington6988
Copy link

+1

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

No branches or pull requests

2 participants