You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: