I'm looking at this OpenAPI 3 schema: Bankart and C# generator generates wrong code (syntax error) on two issues:
ThreeDSecureData.3dsecure property - it generates constructor like public ThreeDSecureData(ThreeDSecureData_3dsecure? @3dsecure, ... where argument name can't start with a number and should be prefixed with an underscore public ThreeDSecureData(ThreeDSecureData_3dsecure? @_3dsecure instead. '@' doesn't do anything.
For some reasons it creates references to CLASS_NAME2 (it postfixes 2 to class name), like in Customer's paymentData argument - PaymentData2 instead of PaymentData) sometimes.
Had the same problem.
Seems to be "classStyle": "Record" creates this broken constructors
Using "classStyle": "Poco" with "generateNativeRecords": true still gets me records but without the constructors
I'm looking at this OpenAPI 3 schema: Bankart and C# generator generates wrong code (syntax error) on two issues:
public ThreeDSecureData(ThreeDSecureData_3dsecure? @3dsecure, ...
where argument name can't start with a number and should be prefixed with an underscorepublic ThreeDSecureData(ThreeDSecureData_3dsecure? @_3dsecure
instead. '@' doesn't do anything.