OpenAPITools / openapi-generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
https://openapi-generator.tech
Apache License 2.0
20.76k stars 6.32k forks source link

[kotlin-spring] Generated code using Schema with discriminator mapping will not compile #18826

Closed Philzen closed 1 month ago

Philzen commented 1 month ago

Closes #14949

Currently the CI jobs for all my other PRs are failing b/c i activated testing of the kotlin-springboot-request-cookie as part of #18809 (one would assume that should teach me to stay strictly in scope in my PRs :see_no_evil:).

I'm a bit concerned why that did not come up in that PRs CI runs… we should investigate. However, on the positive side it made me get around to fix #14949.

PR checklist

Philzen commented 1 month ago

@wing328 Kindly review this before any other PRs – apparently all other merges will be blocked by it.