forked from loafle/openapi-generator-original
[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:
@@ -43,9 +43,9 @@ This runs all tests and packages the library.
|
||||
|
||||
All URIs are relative to *http://localhost*
|
||||
|
||||
Class | Method | HTTP request | Description
|
||||
------------ | ------------- | ------------- | -------------
|
||||
*DefaultApi* | [**findPetsByStatus**](docs/DefaultApi.md#findpetsbystatus) | **GET** /test/parameters/{path_default}/{path_nullable} | Finds Pets by status
|
||||
| Class | Method | HTTP request | Description |
|
||||
| ------------ | ------------- | ------------- | ------------- |
|
||||
| *DefaultApi* | [**findPetsByStatus**](docs/DefaultApi.md#findpetsbystatus) | **GET** /test/parameters/{path_default}/{path_nullable} | Finds Pets by status |
|
||||
|
||||
|
||||
<a id="documentation-for-models"></a>
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
All URIs are relative to *http://localhost*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**findPetsByStatus**](DefaultApi.md#findPetsByStatus) | **GET** /test/parameters/{path_default}/{path_nullable} | Finds Pets by status
|
||||
| Method | HTTP request | Description |
|
||||
| ------------- | ------------- | ------------- |
|
||||
| [**findPetsByStatus**](DefaultApi.md#findPetsByStatus) | **GET** /test/parameters/{path_default}/{path_nullable} | Finds Pets by status |
|
||||
|
||||
|
||||
<a id="findPetsByStatus"></a>
|
||||
@@ -49,24 +49,23 @@ try {
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**pathDefault** | **kotlin.String**| path default |
|
||||
**pathNullable** | **kotlin.String**| path_nullable |
|
||||
**queryDefault** | **kotlin.String**| query default | [optional] [default to "available"]
|
||||
**queryDefaultEnum** | **kotlin.String**| query default enum | [optional] [default to B] [enum: A, B, C]
|
||||
**queryDefaultInt** | **java.math.BigDecimal**| query default int | [optional] [default to 3]
|
||||
**headerDefault** | **kotlin.String**| header default | [optional] [default to "available"]
|
||||
**headerDefaultEnum** | **kotlin.String**| header default enum | [optional] [default to B] [enum: A, B, C]
|
||||
**headerDefaultInt** | **java.math.BigDecimal**| header default int | [optional] [default to 3]
|
||||
**cookieDefault** | **kotlin.String**| cookie default | [optional] [default to "available"]
|
||||
**cookieDefaultEnum** | **kotlin.String**| cookie default enum | [optional] [default to B] [enum: A, B, C]
|
||||
**cookieDefaultInt** | **java.math.BigDecimal**| cookie default int | [optional] [default to 3]
|
||||
**queryNullable** | **kotlin.String**| query nullable | [optional]
|
||||
**headerNullable** | **kotlin.String**| header nullable | [optional]
|
||||
**cookieNullable** | **kotlin.String**| cookie_nullable | [optional]
|
||||
**dollarQueryDollarDollarSign** | **kotlin.String**| query parameter with dollar sign | [optional]
|
||||
| **pathDefault** | **kotlin.String**| path default | |
|
||||
| **pathNullable** | **kotlin.String**| path_nullable | |
|
||||
| **queryDefault** | **kotlin.String**| query default | [optional] [default to "available"] |
|
||||
| **queryDefaultEnum** | **kotlin.String**| query default enum | [optional] [default to B] [enum: A, B, C] |
|
||||
| **queryDefaultInt** | **java.math.BigDecimal**| query default int | [optional] [default to 3] |
|
||||
| **headerDefault** | **kotlin.String**| header default | [optional] [default to "available"] |
|
||||
| **headerDefaultEnum** | **kotlin.String**| header default enum | [optional] [default to B] [enum: A, B, C] |
|
||||
| **headerDefaultInt** | **java.math.BigDecimal**| header default int | [optional] [default to 3] |
|
||||
| **cookieDefault** | **kotlin.String**| cookie default | [optional] [default to "available"] |
|
||||
| **cookieDefaultEnum** | **kotlin.String**| cookie default enum | [optional] [default to B] [enum: A, B, C] |
|
||||
| **cookieDefaultInt** | **java.math.BigDecimal**| cookie default int | [optional] [default to 3] |
|
||||
| **queryNullable** | **kotlin.String**| query nullable | [optional] |
|
||||
| **headerNullable** | **kotlin.String**| header nullable | [optional] |
|
||||
| **cookieNullable** | **kotlin.String**| cookie_nullable | [optional] |
|
||||
| Name | Type | Description | Notes |
|
||||
| ------------- | ------------- | ------------- | ------------- |
|
||||
| **dollarQueryDollarDollarSign** | **kotlin.String**| query parameter with dollar sign | [optional] |
|
||||
|
||||
### Return type
|
||||
|
||||
|
||||
Reference in New Issue
Block a user