[kotlin] Test array integer (enum) with kotlin client generator (#22336)

* add tests for array of enum

* update
This commit is contained in:
William Cheng
2025-11-12 16:39:01 +08:00
committed by GitHub
parent 57d304f3f6
commit 886e4a6dd0
35 changed files with 1514 additions and 0 deletions

View File

@@ -0,0 +1,61 @@
# org.openapitools.client - Kotlin client library for Issue 15204 Int Array Enum
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
## Overview
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://github.com/OAI/OpenAPI-Specification) from a remote server, you can easily generate an API client.
- API version: latest
- Package version:
- Generator version: 7.18.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.KotlinClientCodegen
## Requires
* Kotlin 2.2.20
* Gradle 8.14
## Build
First, create the gradle wrapper script:
```
gradle wrapper
```
Then, run:
```
./gradlew check assemble
```
This runs all tests and packages the library.
## Features/Implementation Notes
* Supports JSON inputs/outputs, File inputs, and Form inputs.
* Supports collection formats for query parameters: csv, tsv, ssv, pipes.
* Some Kotlin and Java types are fully qualified to avoid conflicts with types defined in OpenAPI definitions.
* Implementation of ApiClient is intended to reduce method counts, specifically to benefit Android targets.
<a id="documentation-for-api-endpoints"></a>
## Documentation for API Endpoints
All URIs are relative to *http://localhost*
| Class | Method | HTTP request | Description |
| ------------ | ------------- | ------------- | ------------- |
| *DefaultApi* | [**operation**](docs/DefaultApi.md#operation) | **GET** / | |
<a id="documentation-for-models"></a>
## Documentation for Models
- [org.openapitools.client.models.ModelWithIntArrayEnum](docs/ModelWithIntArrayEnum.md)
<a id="documentation-for-authorization"></a>
## Documentation for Authorization
Endpoints do not require authorization.