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

form-data as content type yet to be implemented #402

Open
drahnr opened this issue Apr 3, 2023 · 2 comments · May be fixed by #418
Open

form-data as content type yet to be implemented #402

drahnr opened this issue Apr 3, 2023 · 2 comments · May be fixed by #418

Comments

@drahnr
Copy link
Contributor

drahnr commented Apr 3, 2023

    post:
      tags:
      - "Voucher"
      summary: "Free shit"
      description: "No money needed!"
      operationId: "uploadVoucher"
      requestBody:
        description: "File to upload"
        content:
          form-data:
            schema:
              properties:
                file:
                  description: "The file to upload"
                  type: "string"
                  format: "binary"
              type: "object"
  Error: UnexpectedFormat("unexpected content type: form-data")
@drahnr
Copy link
Contributor Author

drahnr commented Apr 3, 2023

Mea culpa, must be "application/x-www-form-urlencoded": instead of form-data, assuming upstream change.

Thank you for this beautiful tool 💟

@drahnr drahnr closed this as completed Apr 3, 2023
@drahnr drahnr reopened this Apr 6, 2023
@drahnr
Copy link
Contributor Author

drahnr commented Apr 6, 2023

So while the above statement is correct, the behavior should be different. See #410

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 a pull request may close this issue.

1 participant