mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-09 21:56:09 +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:
@@ -73,6 +73,9 @@ class FormatTest {
|
||||
if (data.hasOwnProperty('double')) {
|
||||
obj['double'] = ApiClient.convertToType(data['double'], 'Number');
|
||||
}
|
||||
if (data.hasOwnProperty('decimal')) {
|
||||
obj['decimal'] = ApiClient.convertToType(data['decimal'], 'Number');
|
||||
}
|
||||
if (data.hasOwnProperty('string')) {
|
||||
obj['string'] = ApiClient.convertToType(data['string'], 'String');
|
||||
}
|
||||
@@ -137,6 +140,11 @@ FormatTest.prototype['float'] = undefined;
|
||||
*/
|
||||
FormatTest.prototype['double'] = undefined;
|
||||
|
||||
/**
|
||||
* @member {Number} decimal
|
||||
*/
|
||||
FormatTest.prototype['decimal'] = undefined;
|
||||
|
||||
/**
|
||||
* @member {String} string
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user