-
-
Notifications
You must be signed in to change notification settings - Fork 249
Closed
Description
I want to use custom Content-Type in Format, DefaultFormat, Input Body, Output. It's pure json, but I'm restricted from "application/json", "json" types.
When I specify my custom type in Input Body struct with "contentType" tag I get next results:
- HTTP 415 when I send no "Content-Type" header in request
- crash if I add "Content-Type" header in request
Here's a runnable playground example: https://go.dev/play/p/FWy4_38Rh9z
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels