Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Issues
  • #8179
Closed
Open
Issue created Dec 14, 2020 by Peter Leibiger@kuhnroyalContributor3 of 9 checklist items completed3/9 checklist items

[REQ][dart] Dart full OAS3 support

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 as java.io.File in Java/Kotlin. It should probably be a separate model. Currently this leads to compile errors. (addressed by https://github.com/OpenAPITools/openapi-generator/pull/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: https://github.com/OpenAPITools/openapi-generator/issues/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 https://github.com/OpenAPITools/openapi-generator/pull/8198)

Dart-Dio:

  • Compile errors regarding header parameters of type bool and List, basically everything that is not a String (addressed by #8191)
Assignee
Assign to
Time tracking