Better tests for string (number) (#3953)

* beter test for string (number)

* fix mapping

* fix mapping in csharp generators
This commit is contained in:
William Cheng
2019-09-30 15:22:44 +08:00
committed by GitHub
parent c8d5701089
commit 7dbda049f0
119 changed files with 1693 additions and 136 deletions

View File

@@ -94,6 +94,9 @@ class FormatTest {
if (data.hasOwnProperty('password')) {
obj['password'] = ApiClient.convertToType(data['password'], 'String');
}
if (data.hasOwnProperty('BigDecimal')) {
obj['BigDecimal'] = ApiClient.convertToType(data['BigDecimal'], 'Number');
}
}
return obj;
}
@@ -166,6 +169,11 @@ FormatTest.prototype['uuid'] = undefined;
*/
FormatTest.prototype['password'] = undefined;
/**
* @member {Number} BigDecimal
*/
FormatTest.prototype['BigDecimal'] = undefined;