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

Codegen multipart body support #3519

Merged

Conversation

markussammallahti
Copy link
Contributor

Adds multipart body support for codegen.

paths:
  /files:
    post:
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/UploadInput'
        required: true

components:
  schemas:
    UploadInput:
      type: object
      properties:
        name:
          type: string
        file:
          type: string
          format: binary
      required:
      - name
      - file

@markussammallahti markussammallahti changed the title Codegen form-data support Codegen multipart body support Feb 14, 2024
@adamw adamw merged commit e92c2c6 into softwaremill:master Feb 15, 2024
23 checks passed
@adamw
Copy link
Member

adamw commented Feb 15, 2024

Thanks! :)

@markussammallahti markussammallahti deleted the codegen-multipart-support branch February 15, 2024 11:23
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