Skip to content

Conversation

@jpage-godaddy
Copy link

  • Migrate from swagger-parser to successor @apidevtools/swagger-parser
  • Bump dev packages with security vulnerabilities
  • Fix cleanup issue with test when files do not exist

- Migrate from `swagger-parser` to successor `@apidevtools/swagger-parser`
- Bump dev packages with security vulnerabilities
- Fix cleanup issue with test when files do not exist
@martin-badin
Copy link

Thank you for this PR. I would like to see this PR merged. However, it appears that this project is no longer active.

@soukainakhalkhouli
Copy link

@martin-badin could you please merge this PR in our project we are blocked and it's impacting our production also

@martin-badin
Copy link

Sorry. I am not owner.

@fabriciob-ciandt
Copy link

@daniloab Do you be able to review and merge this PR?

@daniloab
Copy link
Collaborator

@daniloab Do you be able to review and merge this PR?

Hey, I'm going to review. Sorry for the late.

tryUnlink(`${dir}/swagger.json`);
tryUnlink(`${dir}/customSpec.json`);
tryUnlink(`${dir}/customSpec.yaml`);
tryUnlink(`${dir}/customSpec.yml`);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can also just skip removing this non existent file (instead of wrapping in try/catch)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this failing or the try catch is working as expected?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try catch is working as expected. But the .yml file doesn't exist - so we can alternatively just remove line 152 (like I do in my other PR).

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

Successfully merging this pull request may close these issues.

6 participants