SurfGen icon indicating copy to clipboard operation
SurfGen copied to clipboard

Support binary data in request body

Open dkrutskikh opened this issue 4 years ago • 0 comments

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

dkrutskikh avatar Jun 16 '21 10:06 dkrutskikh