Skip to content

[REQ][dart] Dart full OAS3 support #8179

Open
@kuhnroyal

Description

@kuhnroyal

This is an epic to track remaining work for full dart/dart-dio OAS3 support.

General:

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 call Object.mapFromJson
  • OAS3 fake petstore contains a model called Client, this conflict with http.Client (addressed by [dart][dart-dio] Prevent name clashes with existing dart types #8198)

Dart-Dio:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions