acacode / acacode/swagger-typescript-api

Custom type named FileXyz triggers content type workaround

Abierto
#1,538 1 comentario 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
TypeScript
Estrellas
4.1k
Forks
436
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.