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

Duplicate codegenContents when requestBody has multiple content types and one of them is a form #837

Open
alf-mindshift opened this issue Jan 8, 2021 · 0 comments

Comments

@alf-mindshift
Copy link

Given a resource with multiple content types, the generated code will not compile if one or more of these content types is either application/x-www-form-urlencoded or multipart/form-data.

In the case where the requestBody is identical, the following fix seems to work. When the request bodies are different, you'll hit #441.

alf-mindshift added a commit to alf-mindshift/swagger-codegen-generators that referenced this issue Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant