Closed dylancetin closed 12 hours ago
Something similar exists in "/lists" GET. OpenApi says search query string should be in the body json. But it only works when I add it on to URL params.
Similar things mentioned in #2077
Hi @dylancetin. Would you be able to send a PR fixing the YML spec?
@knadh opened one
Version:
Description of the bug and steps to reproduce: Miss match OpenApi specs on /import/subscribers POST
Current OpenApi spec is:
But as far as I am aware, body should be "multipart/form-data" or "application/x-www-form-urlencoded" to be able to transmit files. I have a copy of the yaml that I modified like below. And I am using this modified yaml to generate typescript clients.
I would love to dive in the Go code, but I am not familiar. I will be guessing this is a bug.