cloud-annotations / docusaurus-openapi

🦕 OpenAPI plugin for generating API reference docs in Docusaurus v2.
https://docusaurus-openapi.netlify.app
MIT License
498 stars 82 forks source link

remove axios dependency #287

Closed benmccann closed 5 months ago

benmccann commented 5 months ago

axios is barely used and so could be replaced by Node's built-in fetch without too much effort

Removing axios would reduce the number of dependencies. We are using the oazapfts implementation of openapi, so wouldn't have axios used if not for this library pulling it in

The version of axios currently being used has security vulnerabilities, the change would also address that

bourdakos1 commented 5 months ago

Would be happy to approve a PR that swaps axios for fetch :)