Shows swagger yaml/json rendered by Swagger-UI. This extension replace swagger code into preview html in GitHub.
swagger-viewer Extension
# ⚠️Sorry! No longer supported.⚠️
Dear Community,
Due to time constraints, I'm archiving the swagger-viewer repository and ending support. Grateful for all contributions, please feel free to fork and continue the project. Thank you for your understanding.
---
Works completely offline.
## Demo
### Easy to convert
https://raw.githubusercontent.com/arx-8/swagger-viewer/main/README-Demo_1.gif
### Easy to expand / collapse
https://raw.githubusercontent.com/arx-8/swagger-viewer/main/README-Demo_2.gif
## Spec.
- Supported sites.
- GitHub
- Supported OpenAPI ver.
- 2.0
- 3.0
- Supported file ext.
- yaml
- yml
- json
## Usage
1. Install this app.
2. Open swagger page in GitHub.
- Try:
3. Click this app icon.
4. Have a good development!
## ChangeLog
https://github.com/arx-6/swagger-viewer/blob/main/CHANGELOG.md
Read more
Dear Community,
Due to time constraints, I'm archiving the swagger-viewer repository and ending support. Grateful for all contributions, please feel free to fork and continue the project. Thank you for your understanding.
---
Works completely offline.
## Demo
### Easy to convert
https://raw.githubusercontent.com/arx-8/swagger-viewer/main/README-Demo_1.gif
### Easy to expand / collapse
https://raw.githubusercontent.com/arx-8/swagger-viewer/main/README-Demo_2.gif
## Spec.
- Supported sites.
- GitHub
- Supported OpenAPI ver.
- 2.0
- 3.0
- Supported file ext.
- yaml
- yml
- json
## Usage
1. Install this app.
2. Open swagger page in GitHub.
- Try:
3. Click this app icon.
4. Have a good development!
## ChangeLog
https://github.com/arx-6/swagger-viewer/blob/main/CHANGELOG.md
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "__MSG_appName__", "short_name": "__MSG_appShortName__", "description": "__MSG_appDescription__", "version": "3.1.1", "manifest_version": 3, "default_locale": "en", "icons": { "16": "src/images/icon-16.png", "48": "src/images/icon-48.png", "128": "src/images/icon-128.png" }, "background": { "service_worker": "service-worker-loader.js", "type": "module" }, "action": { "default_title": "Convert!" }, "options_ui": { "page": "src/options.html" }, "content_scripts": [ { "js": [ "assets/content-script-loader.content_scripts.ts.3ce163c6.e4d5cbf6.js" ], "matches": [ "https://github.com/*" ], "css": [ "assets/content_scripts.ts.ec594941.css" ] } ], "web_accessible_resources": [ { "matches": [ "https://github.com/*" ], "resources": [ "assets/content_scripts.ts.3ce163c6.js" ], "use_dynamic_url": true } ]}
Read more