Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
LsKoder opened this issue Apr 8, 2021 · 1 comment
Open

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

LsKoder opened this issue Apr 8, 2021 · 1 comment

Comments

@LsKoder
Copy link

LsKoder commented Apr 8, 2021

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
Copy link
Author

LsKoder commented Jul 12, 2022

news?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant