Files
openapi-generator-original/docs/generators
wakanao 22e1d6aa78 fix(kotlin): support non-discriminator oneOf/anyOf model and array types with kotlinx_serialization (#23007)
* fix(kotlin): use sealed interface for non-discriminator oneOf/anyOf in kotlinx_serialization

* add sample and CI config for non-discriminator oneOf/anyOf with kotlinx_serialization

* replace petstore with focused spec for non-discriminator oneOf/anyOf sample

* add CI path filter for kotlin-oneOf-anyOf-kotlinx-serialization sample

* add x-duplicated-data-type guard to kotlinx_serialization oneOf/anyOf templates

The Gson path already uses {{^vendorExtensions.x-duplicated-data-type}} to skip
duplicate data types, but the new kotlinx_serialization path was missing this
guard. Without it, duplicate value class names would be generated if multiple
schemas resolve to the same Kotlin dataType, causing compilation errors.

* remove invalid path pattern from push.branches in CI config

push.branches filters by branch name, not file paths. The sample directory
pattern added here had no effect. The pull_request.paths filter remains and
correctly triggers CI for this sample.

* update generateOneOfAnyOfWrappers docs to include kotlinx_serialization support
2026-02-24 17:05:17 +08:00
..
2024-02-23 16:27:26 +08:00
2024-02-23 16:27:26 +08:00
2024-02-23 16:27:26 +08:00
2024-02-23 16:27:26 +08:00
2024-02-23 16:27:26 +08:00
2025-12-22 16:09:33 +08:00
2025-11-23 17:19:16 +08:00
2025-01-11 15:44:42 +08:00
2023-12-13 16:13:31 +08:00
2024-04-24 23:50:14 +08:00
2024-01-10 11:50:48 +08:00
2024-10-05 17:08:14 +08:00

The following generators are available:

CLIENT generators

SERVER generators

DOCUMENTATION generators

SCHEMA generators

CONFIG generators