Skip to content

[OpenAPI 3] Incorrect bytes encoding for multipart/form-data when present in a union #2924

@bterlson

Description

@bterlson

Playground

When you have an op like:

op upload(@header contentType: "multipart/form-data", data: bytes | { x: string }): void; 

The openapi incorrectly encodes bytes as byte and not binary.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions