mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-11 04:52:44 +00:00
Add "decimal" support (#7808)
* rename BigDecimal to decimal * add isDecimal * fix tests * minor fixes * fix mapping, update doc * update test spec * update c# samples
This commit is contained in:
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
|
||||
**date_time** | **datetime** | | [optional]
|
||||
**uuid** | **str** | | [optional]
|
||||
**password** | **str** | |
|
||||
**big_decimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||
**big_decimal** | [**Decimal**](Decimal.md) | | [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)
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ class FormatTest(object):
|
||||
'date_time': 'datetime',
|
||||
'uuid': 'str',
|
||||
'password': 'str',
|
||||
'big_decimal': 'BigDecimal'
|
||||
'big_decimal': 'Decimal'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
@@ -442,7 +442,7 @@ class FormatTest(object):
|
||||
|
||||
|
||||
:return: The big_decimal of this FormatTest. # noqa: E501
|
||||
:rtype: BigDecimal
|
||||
:rtype: Decimal
|
||||
"""
|
||||
return self._big_decimal
|
||||
|
||||
@@ -452,7 +452,7 @@ class FormatTest(object):
|
||||
|
||||
|
||||
:param big_decimal: The big_decimal of this FormatTest. # noqa: E501
|
||||
:type big_decimal: BigDecimal
|
||||
:type big_decimal: Decimal
|
||||
"""
|
||||
|
||||
self._big_decimal = big_decimal
|
||||
|
||||
Reference in New Issue
Block a user