|
| 1 | +# org.openapitools.client - Kotlin client library for Echo Server API |
| 2 | + |
| 3 | +Echo Server API |
| 4 | + |
| 5 | +## Overview |
| 6 | +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. |
| 7 | + |
| 8 | +- API version: 0.1.0 |
| 9 | +- Package version: |
| 10 | +- Generator version: 7.11.0-SNAPSHOT |
| 11 | +- Build package: org.openapitools.codegen.languages.KotlinClientCodegen |
| 12 | + |
| 13 | +## Requires |
| 14 | + |
| 15 | +* Kotlin 1.7.21 |
| 16 | +* Gradle 7.5 |
| 17 | + |
| 18 | +## Build |
| 19 | + |
| 20 | +First, create the gradle wrapper script: |
| 21 | + |
| 22 | +``` |
| 23 | +gradle wrapper |
| 24 | +``` |
| 25 | + |
| 26 | +Then, run: |
| 27 | + |
| 28 | +``` |
| 29 | +./gradlew check assemble |
| 30 | +``` |
| 31 | + |
| 32 | +This runs all tests and packages the library. |
| 33 | + |
| 34 | +## Features/Implementation Notes |
| 35 | + |
| 36 | +* Supports JSON inputs/outputs, File inputs, and Form inputs. |
| 37 | +* Supports collection formats for query parameters: csv, tsv, ssv, pipes. |
| 38 | +* Some Kotlin and Java types are fully qualified to avoid conflicts with types defined in OpenAPI definitions. |
| 39 | +* Implementation of ApiClient is intended to reduce method counts, specifically to benefit Android targets. |
| 40 | + |
| 41 | +<a id="documentation-for-api-endpoints"></a> |
| 42 | +## Documentation for API Endpoints |
| 43 | + |
| 44 | +All URIs are relative to *http://localhost:3000* |
| 45 | + |
| 46 | +| Class | Method | HTTP request | Description | |
| 47 | +| ------------ | ------------- | ------------- | ------------- | |
| 48 | +| *AuthApi* | [**testAuthHttpBasic**](docs/AuthApi.md#testauthhttpbasic) | **POST** /auth/http/basic | To test HTTP basic authentication | |
| 49 | +| *AuthApi* | [**testAuthHttpBearer**](docs/AuthApi.md#testauthhttpbearer) | **POST** /auth/http/bearer | To test HTTP bearer authentication | |
| 50 | +| *BodyApi* | [**testBinaryGif**](docs/BodyApi.md#testbinarygif) | **POST** /binary/gif | Test binary (gif) response body | |
| 51 | +| *BodyApi* | [**testBodyApplicationOctetstreamBinary**](docs/BodyApi.md#testbodyapplicationoctetstreambinary) | **POST** /body/application/octetstream/binary | Test body parameter(s) | |
| 52 | +| *BodyApi* | [**testBodyMultipartFormdataArrayOfBinary**](docs/BodyApi.md#testbodymultipartformdataarrayofbinary) | **POST** /body/application/octetstream/array_of_binary | Test array of binary in multipart mime | |
| 53 | +| *BodyApi* | [**testBodyMultipartFormdataSingleBinary**](docs/BodyApi.md#testbodymultipartformdatasinglebinary) | **POST** /body/application/octetstream/single_binary | Test single binary in multipart mime | |
| 54 | +| *BodyApi* | [**testEchoBodyFreeFormObjectResponseString**](docs/BodyApi.md#testechobodyfreeformobjectresponsestring) | **POST** /echo/body/FreeFormObject/response_string | Test free form object | |
| 55 | +| *BodyApi* | [**testEchoBodyPet**](docs/BodyApi.md#testechobodypet) | **POST** /echo/body/Pet | Test body parameter(s) | |
| 56 | +| *BodyApi* | [**testEchoBodyPetResponseString**](docs/BodyApi.md#testechobodypetresponsestring) | **POST** /echo/body/Pet/response_string | Test empty response body | |
| 57 | +| *BodyApi* | [**testEchoBodyTagResponseString**](docs/BodyApi.md#testechobodytagresponsestring) | **POST** /echo/body/Tag/response_string | Test empty json (request body) | |
| 58 | +| *FormApi* | [**testFormIntegerBooleanString**](docs/FormApi.md#testformintegerbooleanstring) | **POST** /form/integer/boolean/string | Test form parameter(s) | |
| 59 | +| *FormApi* | [**testFormOneof**](docs/FormApi.md#testformoneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema | |
| 60 | +| *HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testheaderintegerbooleanstringenums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s) | |
| 61 | +| *PathApi* | [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) | |
| 62 | +| *QueryApi* | [**testEnumRefString**](docs/QueryApi.md#testenumrefstring) | **GET** /query/enum_ref_string | Test query parameter(s) | |
| 63 | +| *QueryApi* | [**testQueryDatetimeDateString**](docs/QueryApi.md#testquerydatetimedatestring) | **GET** /query/datetime/date/string | Test query parameter(s) | |
| 64 | +| *QueryApi* | [**testQueryIntegerBooleanString**](docs/QueryApi.md#testqueryintegerbooleanstring) | **GET** /query/integer/boolean/string | Test query parameter(s) | |
| 65 | +| *QueryApi* | [**testQueryStyleDeepObjectExplodeTrueObject**](docs/QueryApi.md#testquerystyledeepobjectexplodetrueobject) | **GET** /query/style_deepObject/explode_true/object | Test query parameter(s) | |
| 66 | +| *QueryApi* | [**testQueryStyleFormExplodeTrueArrayString**](docs/QueryApi.md#testquerystyleformexplodetruearraystring) | **GET** /query/style_form/explode_true/array_string | Test query parameter(s) | |
| 67 | +| *QueryApi* | [**testQueryStyleFormExplodeTrueObject**](docs/QueryApi.md#testquerystyleformexplodetrueobject) | **GET** /query/style_form/explode_true/object | Test query parameter(s) | |
| 68 | + |
| 69 | + |
| 70 | +<a id="documentation-for-models"></a> |
| 71 | +## Documentation for Models |
| 72 | + |
| 73 | + - [org.openapitools.client.models.ApiBird](docs/ApiBird.md) |
| 74 | + - [org.openapitools.client.models.ApiCategory](docs/ApiCategory.md) |
| 75 | + - [org.openapitools.client.models.ApiDefaultValue](docs/ApiDefaultValue.md) |
| 76 | + - [org.openapitools.client.models.ApiNumberPropertiesOnly](docs/ApiNumberPropertiesOnly.md) |
| 77 | + - [org.openapitools.client.models.ApiPet](docs/ApiPet.md) |
| 78 | + - [org.openapitools.client.models.ApiQuery](docs/ApiQuery.md) |
| 79 | + - [org.openapitools.client.models.ApiStringEnumRef](docs/ApiStringEnumRef.md) |
| 80 | + - [org.openapitools.client.models.ApiTag](docs/ApiTag.md) |
| 81 | + - [org.openapitools.client.models.ApiTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter](docs/ApiTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md) |
| 82 | + |
| 83 | + |
| 84 | +<a id="documentation-for-authorization"></a> |
| 85 | +## Documentation for Authorization |
| 86 | + |
| 87 | + |
| 88 | +Authentication schemes defined for the API: |
| 89 | +<a id="http_auth"></a> |
| 90 | +### http_auth |
| 91 | + |
| 92 | +- **Type**: HTTP basic authentication |
| 93 | + |
| 94 | +<a id="http_bearer_auth"></a> |
| 95 | +### http_bearer_auth |
| 96 | + |
| 97 | +- **Type**: HTTP Bearer Token authentication |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | +## Author |
| 102 | + |
| 103 | + |
0 commit comments