forked from loafle/openapi-generator-original
[JAVA] fix toUrlQueryString for BigDecimal (#15764)
* add MyImportTest.java * fix original issue * fix same issue for native library * remove MyImportTest * add test configs * generate samples (again?) * generate samples again * generate samples again, undo pom.xml mistake [amended to retrigger circliCi]
This commit is contained in:
@@ -9,6 +9,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**fake_big_decimal_map**](FakeApi.md#fake_big_decimal_map) | **GET** /fake/BigDecimalMap |
|
||||
[**fake_health_get**](FakeApi.md#fake_health_get) | **GET** /fake/health | Health check endpoint
|
||||
[**fake_http_signature_test**](FakeApi.md#fake_http_signature_test) | **GET** /fake/http-signature-test | test http signature authentication
|
||||
[**fake_outer_boolean_serialize**](FakeApi.md#fake_outer_boolean_serialize) | **POST** /fake/outer/boolean |
|
||||
@@ -28,6 +29,48 @@ Method | HTTP request | Description
|
||||
[**test_query_parameter_collection_format**](FakeApi.md#test_query_parameter_collection_format) | **PUT** /fake/test-query-parameters |
|
||||
|
||||
|
||||
# **fake_big_decimal_map**
|
||||
> FakeBigDecimalMap200Response fake_big_decimal_map()
|
||||
|
||||
|
||||
|
||||
for Java apache and Java native, test toUrlQueryString for maps with BegDecimal keys
|
||||
|
||||
### Example
|
||||
```perl
|
||||
use Data::Dumper;
|
||||
use WWW::OpenAPIClient::FakeApi;
|
||||
my $api_instance = WWW::OpenAPIClient::FakeApi->new(
|
||||
);
|
||||
|
||||
|
||||
eval {
|
||||
my $result = $api_instance->fake_big_decimal_map();
|
||||
print Dumper($result);
|
||||
};
|
||||
if ($@) {
|
||||
warn "Exception when calling FakeApi->fake_big_decimal_map: $@\n";
|
||||
}
|
||||
```
|
||||
|
||||
### Parameters
|
||||
This endpoint does not need any parameter.
|
||||
|
||||
### Return type
|
||||
|
||||
[**FakeBigDecimalMap200Response**](FakeBigDecimalMap200Response.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: */*
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||
|
||||
# **fake_health_get**
|
||||
> HealthCheckResult fake_health_get()
|
||||
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
# WWW::OpenAPIClient::Object::FakeBigDecimalMap200Response
|
||||
|
||||
## Load the model package
|
||||
```perl
|
||||
use WWW::OpenAPIClient::Object::FakeBigDecimalMap200Response;
|
||||
```
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**some_id** | **double** | | [optional]
|
||||
**some_map** | **HASH[string,double]** | | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user