Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong content-type for payload body #242

Open
gh-axel-czarniak opened this issue Dec 27, 2024 · 0 comments
Open

Wrong content-type for payload body #242

gh-axel-czarniak opened this issue Dec 27, 2024 · 0 comments

Comments

@gh-axel-czarniak
Copy link

Hello,

I have a problem with my generation and I can't find a way to fix it.

All the request body are using "application/x-www-form-urlencoded" format and the response are using "application/json".

I would like to have both in "application/json" but I can't find the correct parameter to force it. And I don't see any difference on the generation of my payload for the request and the response in the spec.

Is there a way to force the request to also use json ? Do I need to pass a post generation function to replace all headers ?

Thanks for your help !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant