Announcing openapi.tanna.dev
, a client-side OpenAPI Viewer
As noted in my article, Running Elements API Viewer to Verify Local OpenAPI/Swagger Documents, it can be handy viewing OpenAPI files locally.
Elements is a really nice option, and bundles a handy Web Component which we can use, alongside some crafty client-side JavaScript, make a tool that allows us to render everything client-side, so we don't need to push our - potentially sensitive - OpenAPI specifications anywhere.
I've amended my article above with the code for this, and can be found at on GitLab, and hosted on openapi.tanna.dev.
This is really useful for the case that we've got proprietary, or maybe at least not-yet-ready specifications to view.
Now, I want people to remember to never trust online tools. Even though I wrote this tool, and have made it available for usage, I still want y'all to remember to consider your own threat profile.