swagger int32
array is recognized as Dart dynamic
if present directly from body
in swagger file.
#289
Labels
bug
Something isn't working
Describe the bug
Swagger file with this section:
are recognized as
dynamic
not i.e.List<int>
BTW: You can recognize and remedy like this:
...but it should already have been recognized as
List<int>
.Code generated in :
*.swagger.dart
Code generated in:
*.swagger.chopper.dart
Here I Expected not
Future<Response<dynamic>>
to be returned, butFuture<Response<List<int>>>
instead.To Reproduce
Yaml files
pubspec.yaml.txt
build.yaml.txt
Swagger file:
mwork_api.swagger.txt
Library version used:
2.2.10
The text was updated successfully, but these errors were encountered: