Skip to content
This repository was archived by the owner on Aug 4, 2023. It is now read-only.

stream validation fails #463

@smoebody

Description

@smoebody

Hi,
the master-code gives me a "double callback!" error when validating my file-response. i could nail it down to 17e77be, but i am fairly overwhelmed with what happens here. tag v0.10.1 works well.

this is my path-definition:

  produces:
    - 'image/png'
    - 'image/jpeg'
  responses:
    200:
      description: Successful request.
      schema:
        type: file

the controller responds with res.sendFile(filePath). i try to provide a test for it soon but maybe somebody has an idea already.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions