[kotlin] better oneOf, anyOf support (#18382)

* add validteJsonElement

* add oneOf support

* various fixes, add tests

* minor fixes

* minor fixes

* update data class

* remove comments

* array support, add test

* update api client constructor

* add anyOf support

* add new files

* fix merge

* update

* update

* update

* update
This commit is contained in:
William Cheng
2024-05-31 12:22:27 +08:00
committed by GitHub
parent 1c7e5c4726
commit 353320cb04
648 changed files with 8996 additions and 6249 deletions

View File

@@ -2,9 +2,9 @@
All URIs are relative to *http://localhost:3000*
Method | HTTP request | Description
------------- | ------------- | -------------
[**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
<a id="testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath"></a>
@@ -39,13 +39,12 @@ try {
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**pathString** | **kotlin.String**| |
**pathInteger** | **kotlin.Int**| |
**enumNonrefStringPath** | **kotlin.String**| | [enum: success, failure, unclassified]
**enumRefStringPath** | [**StringEnumRef**](.md)| | [enum: success, failure, unclassified]
| **pathString** | **kotlin.String**| | |
| **pathInteger** | **kotlin.Int**| | |
| **enumNonrefStringPath** | **kotlin.String**| | [enum: success, failure, unclassified] |
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **enumRefStringPath** | [**StringEnumRef**](.md)| | [enum: success, failure, unclassified] |
### Return type