mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-21 19:57:13 +00:00
[kotlin] Test array integer (enum) with kotlin client generator (#22336)
* add tests for array of enum * update
This commit is contained in:
61
samples/client/petstore/kotlin-array-integer-enum/README.md
Normal file
61
samples/client/petstore/kotlin-array-integer-enum/README.md
Normal 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.
|
||||
|
||||
Reference in New Issue
Block a user