Open
Description
This is an epic to track remaining work for full dart/dart-dio OAS3 support.
General:
- OAS3 fake petstore contains a model called
File
. This is generated as a separate model in the Go client but asjava.io.File
in Java/Kotlin. It should probably be a separate model. Currently this leads to compile errors. (addressed by [dart][dart-dio] Prevent name clashes with existing dart types #8198)
Dart:
- There are problems regarding deserialization of maps, de-serialization code is trying to call
Map.mapFromJson
. There are open issues for this and the problem is now evident in the generated fake petstore.
Related issues: [BUG][Dart] Map.mapFromJson is generated, but there's no such method on map. #8029 - De-serialization of maps of maps e.g.
Map<String, Map<String, String>>
- De-serialization of maps of enums e.g.
Map<String, Enum>
- De-serialization of list of list of model e.g.
List<List<ReadOnlyFirst>>
- Support enums of type
double
, de-serialization via switch statement doesn't work here - De-serialization of
List<Object>
tries to callObject.mapFromJson
- OAS3 fake petstore contains a model called
Client
, this conflict withhttp.Client
(addressed by [dart][dart-dio] Prevent name clashes with existing dart types #8198)
Dart-Dio:
- Compile errors regarding header parameters of type
bool
andList
, basically everything that is not aString
(addressed by [dart-dio] Allow dynamic headers and add additional dio parameters #8191)