Skip to content

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

@LsKoder

Description

@LsKoder

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions