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

[Kotlin] Fix default values #17937

Merged

Conversation

stefankoppier
Copy link
Contributor

The echo-api for Kotlin had multiple problems with default values for enums. After fixing these, other problems with default values appeared so the branch name is not entirely correct anymore.

@jimschubert (2017/09) ❤️, @dr4ke616 (2018/08) @karismann (2019/03) @Zomzog (2019/04) @andrewemery (2019/10) @4brunu (2019/11) @yutaka0m (2020/03) @stefankoppier (2022/06)

…erator into kotlin-fix-enum-default-values

# Conflicts:
#	modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-spring-restclient/api.mustache
#	modules/openapi-generator/src/test/resources/3_0/kotlin/echo_api.yaml
#	samples/client/echo_api/kotlin-jvm-spring-3-restclient/.openapi-generator/VERSION
#	samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/apis/HeaderApi.kt
#	samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/apis/PathApi.kt
#	samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/apis/QueryApi.kt
#	samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/DefaultValue.kt
#	samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Query.kt
@wing328
Copy link
Member

wing328 commented Feb 23, 2024

thanks for the PR. will review this weekend.

when you've time, can you please take a look at #17664 (comment) as well?

@wing328 wing328 added this to the 7.4.0 milestone Feb 28, 2024
@wing328 wing328 merged commit 2a4e60c into OpenAPITools:master Feb 28, 2024
58 checks passed
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.

2 participants