Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ToDo #11

Open
14 of 18 tasks
easazade opened this issue Nov 8, 2021 · 0 comments
Open
14 of 18 tasks

ToDo #11

easazade opened this issue Nov 8, 2021 · 0 comments
Assignees

Comments

@easazade
Copy link
Collaborator

easazade commented Nov 8, 2021

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants