
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
google-discovery-to-swagger
Advanced tools
Script for converting Google Discovery format into Swagger 2.0
Script for converting Google Discovery format into Swagger 2.0
If you need to convert some APIs from Google Discovery service I have good news for you, it is already done :smile:
I've developed this lib as part of my main project: APIs.guru - Wikipedia for Web APIs.
IMPORTANT: don't use Github RAW links because they are subject to change. Instead you can find direct links for any particular API in this list. All OpenAPI documents are updated, validated and fixed on a weekly basis.
If you have non-Google API document in this format please consider adding it to the collection: just open an issue with link to it.
If it is an internal API you can use api-spec-converter tool to do conversion for you.
MIT
FAQs
Script for converting Google Discovery format into Swagger 2.0
The npm package google-discovery-to-swagger receives a total of 17,656 weekly downloads. As such, google-discovery-to-swagger popularity was classified as popular.
We found that google-discovery-to-swagger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.