Skip to content

Can 'multipart/form-data' be added to the output OpenAPI spec, for the @UploadedFiles decorator? #19

Open
@sixman9

Description

@sixman9

I'm new to Typescript/Javascript (Java Dev), but I'm trying to keep my development as DRY as possible.

I already know that my Express code works and can do 'multipart/form-data' file uploads, via the '@uploadedfiles' decorator, however, I'd like to see that reflected in the OpenAPI spec, output by your project, so any client code I generate will be aware of it (i.e. 'multipart/form-data').

How can I achieve the addition of 'multipart/form-data' programmatically, using routing-controllers-openapi/routing-controllers?

See https://swagger.io/docs/specification/describing-request-body/multipart-requests

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions