-
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] Request body with type array, are not generated #493
Labels
Comments
Vovanella95
pushed a commit
that referenced
this issue
Nov 14, 2022
Fixed generatino of list request bodies #493
Merged
Vovanella95
added a commit
that referenced
this issue
Nov 14, 2022
* Fixed generation of requestBodies in some border cases Fix #489 * Updated changelog and pubspec * Added 'Method' to key classes #492 Fixed generatino of list request bodies #493 Co-authored-by: Uladzimir Paliukhovich <[email protected]>
Vovanella95
added a commit
that referenced
this issue
Nov 17, 2022
* Fixed generation of requestBodies in some border cases Fix #489 * Updated changelog and pubspec * Added 'Method' to key classes #492 Fixed generatino of list request bodies #493 * Fixed #491 * Fixed ticket number Co-authored-by: Uladzimir Paliukhovich <[email protected]>
Vovanella95
added a commit
that referenced
this issue
Nov 22, 2022
* Fixed generation of requestBodies in some border cases Fix #489 * Updated changelog and pubspec * Added 'Method' to key classes #492 Fixed generatino of list request bodies #493 * Fixed #491 * Fixed ticket number * Fixed generation of basic types refs and lists of them #502 Co-authored-by: Uladzimir Paliukhovich <[email protected]>
Vovanella95
added a commit
that referenced
this issue
Dec 1, 2022
* Fixed generation of requestBodies in some border cases Fix #489 * Updated changelog and pubspec * Added 'Method' to key classes #492 Fixed generatino of list request bodies #493 * Fixed #491 * Fixed ticket number * Fixed generation of basic types refs and lists of them #502 * Fixed #507 Fixed generation of allOf properties with just properties * Updated changelog Co-authored-by: Uladzimir Paliukhovich <[email protected]>
Vovanella95
added a commit
that referenced
this issue
Dec 2, 2022
* Fixed generation of requestBodies in some border cases Fix #489 * Updated changelog and pubspec * Added 'Method' to key classes #492 Fixed generatino of list request bodies #493 * Fixed #491 * Fixed ticket number * Fixed generation of basic types refs and lists of them #502 * Fixed #507 Fixed generation of allOf properties with just properties * Updated changelog * Fixed issue with generation Lists models map Co-authored-by: Uladzimir Paliukhovich <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
If I have a RequestBody with a type array. In the call function the body is not passed as a parameter.
To Reproduce
api.swagger.dart result:
Expected behavior
The request body should also be given as a parameter in the post function.
In my example line 38 from the yaml is missing in the function. I have defined the schema with the type array and the items at this point.
I expected something like this: :
Library version used:
version: 2.8.5
The text was updated successfully, but these errors were encountered: