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

Support binary data in request body #40

Open
dkrutskikh opened this issue Jun 16, 2021 · 0 comments
Open

Support binary data in request body #40

dkrutskikh opened this issue Jun 16, 2021 · 0 comments
Assignees
Labels
3 enhancement New feature or request

Comments

@dkrutskikh
Copy link

for example

/images:
    post:
      summary: Add an image
      description: Add an image required for application
      operationId: add-image
      tags:
        - images
      security:
        - bearerAuth: [ ]
      parameters:
        - $ref: '#/components/parameters/userId'
      requestBody:
        description: Image data
        required: true
        content:
          image/png:
            schema:
              type: string
              format: binary
          application/octet-stream:
            schema:
              type: string
              format: binary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants