acacode / acacode/swagger-typescript-api
Custom type named FileXyz triggers content type workaround
Offen
bug
- Vorherrschende Sprache
- TypeScript
- Sterne
- 4.1k
- Forks
- 436
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.