-
Notifications
You must be signed in to change notification settings - Fork 124
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
[BUG] No request body types are generated #265
Comments
Hi @masseelch , I will check it today or tomorrow. |
Hi @masseelch Sorry I was sick and did not checked your issue. Will get is as soon as possible |
Hi @masseelch , Indeed we did not generated requestBodies injected into requests. I've added this functionality, but there are some bugs. I will fix it soon, anyway Your file generating without issues. So you can use version/2.2.5 branch in your pubspec.yaml to generate all you need. |
Hey @Vovanella95, thank you for the quick fix. I will have a look at the branch next week and let you know! |
@masseelch I hope next weak It will be in pub.dev :) |
@masseelch feel free to use 2.2.5 version. Let us know of there are any issues. |
Hey @Vovanella95, I was sick the whole week and had no time to test. I still will do so and provide feedback. Sorry for the delay. |
@masseelch it's not a problem :) |
I finally was able to work again. All works as expected. Thank you very much :-) |
Describe the bug
No
BodyType
s are generated or of therequestBody.
Objectis used on every
POST/
PATCH`.To Reproduce
Use this openapi.json and run the generator.
Expected behavior
The spec defines a
requestBody
. The generated code creates a type for the body.Library version used:
Additional context
Example of the generated Code.
The text was updated successfully, but these errors were encountered: