Skip to content

[dart] fix toJson does not handle complex type#5189

Closed
arndt-s wants to merge 1 commit into
OpenAPITools:masterfrom
arndt-s:fix/4562-dart-toJson-does-not-handle-object
Closed

[dart] fix toJson does not handle complex type#5189
arndt-s wants to merge 1 commit into
OpenAPITools:masterfrom
arndt-s:fix/4562-dart-toJson-does-not-handle-object

Conversation

@arndt-s

@arndt-s arndt-s commented Feb 2, 2020

Copy link
Copy Markdown
Contributor

Fixes #4562

Tests have been done by checking if models still compile. Did not figure out how to write testfiles for methods in generated sources.

PR checklist

  • Read the contribution guidelines.
  • If contributing template-only or documentation-only changes which will change sample output, build the project before.
  • Run the shell script(s) under ./bin/ (or Windows batch scripts under.\bin\windows) to update Petstore samples related to your fix. This is important, as CI jobs will verify all generator outputs of your HEAD commit, and these must match the expectations made by your contribution. You only need to run ./bin/{LANG}-petstore.sh, ./bin/openapi3/{LANG}-petstore.sh if updating the code or mustache templates for a language ({LANG}) (e.g. php, ruby, python, etc).
  • File the PR against the correct branch: master, 4.3.x, 5.0.x. Default: master.
  • Copy the technical committee to review the pull request if your PR is targeting a particular programming language.

@ircecho (2017/07) @swipesight (2018/09) @jaumard (2018/09) @nickmeinhold (2019/09) @athornz (2019/12) @amondnet (2019/12)

@auto-labeler

auto-labeler Bot commented Feb 2, 2020

Copy link
Copy Markdown

👍 Thanks for opening this issue!
🏷 I have applied any labels matching special text in your issue.

The team will review the labels and make any necessary changes.

@wing328

wing328 commented Feb 4, 2020

Copy link
Copy Markdown
Member

Can you please merge the latest master of the official repo into your branch and regenerate the Dart petstore samples?

That should fix the CircleCI failure.

@arndt-s

arndt-s commented Jul 23, 2020

Copy link
Copy Markdown
Contributor Author

fixed in #6730

@arndt-s arndt-s closed this Jul 23, 2020
@arndt-s arndt-s deleted the fix/4562-dart-toJson-does-not-handle-object branch July 23, 2020 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Dart mustache model toJson doesn't handle the situation which the property is object or array

2 participants