Skip to content

ToDo  #11

@easazade

Description

@easazade

HIGH PRIORITY:

  • add header parser to parse and generate header parameters for api methods (payam)
  • complete generation of ApiClass (payam)
  • add support for methods that require multipart request bodies. (beware of issue with MultiPart.fromFile() not working in the web) (alireza)
  • get the version 3 openapi specs of a big backend framework and test fantom on that
  • enum generation (amirreza)
  • add exception handling for responses (payam)
  • add either type extension function for responses (payam)
  • add feature to exclude paths and parameters (alireza)
  • migrate enum and schema generation to optional-less model (amirreza)

Can be done later (but still important)

  • add custom body to to generated types for RequestBodies (alireza)
  • use compute or similar approach to deserialize large response bodies
  • add exception handling (needs discussion)
  • remove using dart_sealed in the benefit of having simpler generated types. (this'll take time)
  • make file-writer to read necessary files from source code instead of manually copying them

Feature Ideas that we can add in the future

  • add a decent dio Interceptor that converts dio requests to curl
  • add database support
  • mixed object code generation
  • make toJson and fromJson generation more flat and simpler

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions