forked from loafle/openapi-generator-original
Better tests for string (number) (#3953)
* beter test for string (number) * fix mapping * fix mapping in csharp generators
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user