[python] Add tests and fix enum path parameters (#16769)

* test: Tests for enum params in path, query and header

* fix: Get enum ref values correctly in path parameters

Closes #16688

* fix java tests failure

---------

Co-authored-by: William Cheng <wing328hk@gmail.com>
This commit is contained in:
Robert Schweizer
2023-10-10 11:10:30 +02:00
committed by GitHub
parent 7bb75f4bb4
commit 9e07f85eb5
88 changed files with 1549 additions and 538 deletions

View File

@@ -30,6 +30,7 @@ require 'openapi_client'
api_instance = OpenapiClient::QueryApi.new
opts = {
enum_nonref_string_query: 'success', # String |
enum_ref_string_query: OpenapiClient::StringEnumRef::SUCCESS # StringEnumRef |
}
@@ -64,6 +65,7 @@ end
| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **enum_nonref_string_query** | **String** | | [optional] |
| **enum_ref_string_query** | [**StringEnumRef**](.md) | | [optional] |
### Return type