Skip to content

[Javascript-Flowtyped] Handle joining uniqueItems in api template#9412

Closed
kkellyy wants to merge 18 commits into
OpenAPITools:5.2.xfrom
kkellyy:js_flowtyped_handle_uniqueitems
Closed

[Javascript-Flowtyped] Handle joining uniqueItems in api template#9412
kkellyy wants to merge 18 commits into
OpenAPITools:5.2.xfrom
kkellyy:js_flowtyped_handle_uniqueitems

Conversation

@kkellyy

@kkellyy kkellyy commented May 5, 2021

Copy link
Copy Markdown
Contributor

Without these changes, openapi-generator will create Set() objects for swagger parameters with "uniqueItems": true. This wraps those Sets in Array.from() so they can be properly joined. When debugging this in our setup, I found #8695 which fixes this issue for typescript-fetch in the same way.

Also replaced some mixed-indent with spaces in the relevant file.

wing328 and others added 10 commits April 28, 2021 22:36
* nim petstore to use 3.0 spec

* ktorm to use 3.0 spec

* update c petstore to use 3.0 spec

* Revert "update c petstore to use 3.0 spec"

This reverts commit a8ff051.
…ls#9321)

* generation type on  template dir path

* remove gen_type from template and resources
…PITools#8624)

* [scala][akka] Update dependencies for scala 2.13

* Update pom.mustache to support multiple scala's version

* Update pom.xml

* Scala cross build 2.12 and 2.13

* Update version. Migrate to sbt

* Remove space

* Add pom.xml back
…penAPITools#9271)

* Avoid DeprecationWarning in inspect.getargspec on Python 3

* Regenerate samples
* [TypeScript] Fix misplaced parentheses

* [TypeScript] Run PR relevant scripts

* [TypeScript] ensure up to date

* Revert "[TypeScript] ensure up to date"

This reverts commit 320ec45

* Revert "[TypeScript] Run PR relevant scripts"

This reverts commit 23cda75

Co-authored-by: Stefan Wendt <stefan.wendt@isax.com>
…te attribute (OpenAPITools#9373)

* Removed obsolete attribute on constructors without HttpClient prameter

* add clickable link in the tooltip

* update doc, add tests

Co-authored-by: William Cheng <wing328hk@gmail.com>
* Add VMware to users list

LMK if I can provide the png for company logo. I tried uploading to img folder and could not.

* add logo, update readme

Co-authored-by: William Cheng <wing328hk@gmail.com>
* overhaul pistache templates

* fix function signature in model-source
return type now aligns with definition in model-header

* use default keyword for destructors

* generate pistache samples

* move bin/configs/other/cpp-pistache-server-cpp-pistache.yaml to bin/configs/cpp-pistache-server-cpp-pistache.yaml

* Only generate validation body if necessary

* generate pistache samples
@kkellyy kkellyy changed the title [Javascript-Flowtyped][BUG] Handle joining uniqueItems in api template [Javascript-Flowtyped] Handle joining uniqueItems in api template May 5, 2021
wing328 and others added 3 commits May 6, 2021 10:42
* test erlang client, server in drone.io

* rearrange tests, add server folder

* comment out erlang server tests
* fix incorrect aspnetcore logging messages

* address comments from review

cleans up log messages
@wing328

wing328 commented May 6, 2021

Copy link
Copy Markdown
Member

@kkellyy thanks for the PR. I saw you targeted this change to the 5.2.x branch (breaking changes with fallback). Is this PR more like a bug fix?

Kahncode and others added 3 commits May 6, 2021 11:26
…nAPITools#9382)

* Revert "[cpp-ue4] Added the possibility to retry requests easily with AsyncRetry method on the response and SetAutoRetryCount on the request"

* [cpp-ue4] Improved retry system to use Unreal's FHttpRetrySystem

* [cpp-ue4] Updated style guide link

* update samples

Co-authored-by: William Cheng <wing328hk@gmail.com>
@kkellyy

kkellyy commented May 6, 2021

Copy link
Copy Markdown
Contributor Author

@kkellyy thanks for the PR. I saw you targeted this change to the 5.2.x branch (breaking changes with fallback). Is this PR more like a bug fix?

Oh yeah, good call. wasn't 100% sure, but it's more a bug fix

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.