openapi-codegen-ts icon indicating copy to clipboard operation
openapi-codegen-ts copied to clipboard

Invalid line on API Specs (gen-api-models)

Open LsKoder opened this issue 4 years ago • 1 comments

The following line should be removed or commented because it's not a valid JS content:

https://github.com/pagopa/io-utils/blob/1c2852bfa07861387606e87c77e638fb0f59306a/src/commands/gen-api-models/render.ts#L31

The following error occurs generating types from yaml:

Error: SyntaxError: ';' expected. (4:7)
  2 |   /* tslint:disable:object-literal-sort-keys */
  3 |   /* tslint:disable:no-duplicate-string */
> 4 | added this line
    |       ^
  5 |   // DO NOT EDIT

LsKoder avatar Apr 08 '21 13:04 LsKoder

news?

LsKoder avatar Jul 12 '22 10:07 LsKoder