mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-11 17:12:49 +00:00
Better tests for string (number) (#3953)
* beter test for string (number) * fix mapping * fix mapping in csharp generators
This commit is contained in:
@@ -105,6 +105,9 @@
|
||||
if (data.hasOwnProperty('password')) {
|
||||
obj['password'] = ApiClient.convertToType(data['password'], 'String');
|
||||
}
|
||||
if (data.hasOwnProperty('BigDecimal')) {
|
||||
obj['BigDecimal'] = ApiClient.convertToType(data['BigDecimal'], 'Number');
|
||||
}
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
@@ -161,6 +164,10 @@
|
||||
* @member {String} password
|
||||
*/
|
||||
exports.prototype['password'] = undefined;
|
||||
/**
|
||||
* @member {Number} BigDecimal
|
||||
*/
|
||||
exports.prototype['BigDecimal'] = undefined;
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user