acacode / acacode/swagger-typescript-api

Custom type named FileXyz triggers content type workaround

Open
#1,538 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
4.1k
Forks
436
PR merge metrics
No merged PRs in 30d

Description

There's a workaround that auto-sets content type form-data if it sees a payload entry of type `File`, but it matches for any (custom) types starting with "File" in JSON payloads, thus making them content-type form-data suddenly.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.