mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-20 05:47:08 +00:00
[kotlin-client] Support for integer enums with kotlinx with custom serializer (#21765)
* [kotlin-client] Add support for integer enums with custom serializer for kotlinx * [kotlin-client] Fix @SerialName annotation being used on non-string enums * Format samples * remove blank line * add tests for kotlin client with integer enum * add folders --------- Co-authored-by: CHervaudBetclic <c.hervaud@betclicgroup.com>
This commit is contained in:
12
samples/client/others/kotlin-integer-enum/docs/StringCode.md
Normal file
12
samples/client/others/kotlin-integer-enum/docs/StringCode.md
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
# StringCode
|
||||
|
||||
## Enum
|
||||
|
||||
|
||||
* `hello` (value: `"hello"`)
|
||||
|
||||
* `world` (value: `"world"`)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user