forked from loafle/openapi-generator-original
* [kotlin] update pom.xml * [kotlin] update pom.xml * [kotlin][client] update dependencies * [kotlin][client] restore gradle * [kotlin][client] try to fix CI * Revert "[kotlin][client] restore gradle" This reverts commit 20a2947447f5646ca4850304a26bdf76e630a497. * [kotlin][client] try to fix CI * [kotlin][client] try to fix CI * [kotlin][client] try to fix CI * install gradle * [kotlin][client] try to fix CI * [kotlin][client] try to fix CI * [kotlin][client] disable integration tests Co-authored-by: William Cheng <wing328hk@gmail.com>
org.openapitools.client - Kotlin client library for OpenAPI Petstore
Requires
- Kotlin 1.3.61
- Gradle 4.9
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.
Documentation for API Endpoints
All URIs are relative to http://petstore.swagger.io/v2
Class | Method | HTTP request | Description |
---|---|---|---|
EnumApi | getEnum | GET /enum | Get enums |
Documentation for Models
Documentation for Authorization
All endpoints do not require authorization.