forked from loafle/openapi-generator-original
* skip import of allOf composition schema * update samples * allow python generator to keep old behaviour * update js import
org.openapitools.client - Kotlin client library for Example
Requires
- Kotlin 1.4.30
- Gradle 6.8.3
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://example.org
Class | Method | HTTP request | Description |
---|---|---|---|
BirdApi | getBird | GET /v1/bird/{id} |
Documentation for Models
- org.openapitools.client.models.Animal
- org.openapitools.client.models.Bird
- org.openapitools.client.models.BirdAllOf
Documentation for Authorization
All endpoints do not require authorization.