swagger-api / swagger-codegen-generators

Apache License 2.0
284 stars 421 forks source link

Javascript output code can not be run because `static` keyword #1260

Open HugoMario opened 7 months ago

HugoMario commented 7 months ago

This issue is related to #1256 and the problem is present in codegen v2 and v3. Enumeration are defined as static in models for javascript generator but it generates an error when code is attempted to be run.