Skip to content

[Java] Fix serialized name of discriminator in JSON.mustache#4

Merged
sebastien-rosset merged 3 commits into4.3.x-integrationfrom
bugfix/issue4671
Dec 7, 2019
Merged

[Java] Fix serialized name of discriminator in JSON.mustache#4
sebastien-rosset merged 3 commits into4.3.x-integrationfrom
bugfix/issue4671

Conversation

@sebastien-rosset
Copy link
Copy Markdown

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.

@sebastien-rosset sebastien-rosset changed the title Bugfix/issue4671 Use propertyBaseName instead of propertyName for discriminator Dec 6, 2019
@sebastien-rosset sebastien-rosset merged this pull request into 4.3.x-integration Dec 7, 2019
@sebastien-rosset sebastien-rosset changed the title Use propertyBaseName instead of propertyName for discriminator [Java] Fix serialized name of discriminator in JSON.mustache Jan 6, 2020
@sebastien-rosset sebastien-rosset deleted the bugfix/issue4671 branch May 23, 2020 19:23
sebastien-rosset pushed a commit that referenced this pull request Jun 18, 2020
…Body, Set List as default collection for Kotlin data class (OpenAPITools#6456)

* Replace typeMapping kotlin.Array with kotlin.collections.List, because its doesn't work with Kotlin Data Classes(required manually implementing  hashCode&equals)
Replace typeMapping kotlin.Array<kotlin.Byte> with efficient primitive implementation kotlin.ByteArray
Replace instantiationTypes array to kotlin.collections.ArrayList, for extending Array we should provide element count to its constructor.

* Fixed path(removed slash on begin path) for Jvm Kotlin Retrofit

* Fixed handling optional bodyParams for Jvm Kotlin Retrofit

* Fix kotlin tests

* Fixed code format for detekt inspections #2

* revert formatting

* Added ability to generate optional @query params.

* Update Kotlin docs.

* Update Kotlin openapi3 client samples

* Update Kotlin client samples

* Update Kotlin openapi3 client samples after merge with master

* Revert hardcoding List instead Array

* Set List as default collectionType

* Update Kotlin samples

* Fixed Kotlin multiplatform api template. fix mapper for Array type.
Fixed Kotlin multiplatform api template Code style.

* Update Kotlin multiplatform sample

* Fix Kotlin multiplatform template code style

* Update Kotlin multiplatform sample

* Fix Kotlin multiplatform converting Array to List in Api.

* Update Kotlin multiplatform sample #3

* Fix Kotlin tests

* Fix Kotlin jackson Application.kt

* Fix Kotlin tests #2

* Fix merge conflict with master

* Generate samples after merge with master

* Generate samples after merge with master #2

* Generate samples after merge with master #3

* Generate samples after merge with master #4

* update kotlin samples

* update all samples

Co-authored-by: William Cheng <[email protected]>
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

Successfully merging this pull request may close these issues.

1 participant