https://github.com/payu/swaggipedia
Lightweight open-source platform for browsing swagger APIs
https://github.com/payu/swaggipedia
Last synced: about 1 year ago
JSON representation
Lightweight open-source platform for browsing swagger APIs
- Host: GitHub
- URL: https://github.com/payu/swaggipedia
- Owner: PayU
- Created: 2023-08-07T10:05:03.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-11-29T10:30:58.000Z (over 2 years ago)
- Last Synced: 2025-05-16T22:14:05.156Z (about 1 year ago)
- Language: TypeScript
- Size: 3.3 MB
- Stars: 17
- Watchers: 7
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Swaggipedia
## Lightweight open-source platform for browsing swagger APIs.
Swaggipedia provides a simple REST API alongside a user-friendly UI to manage and browse your APIs.
-----------------------------------------------------
## Quick View

## How to use Swaggipedia
### **Step 1**: start a swaggipedia server instance
Swaggipedia is production ready and can be deployed using Docker. Starting an instance is simple:
```sh
docker run -d -p 3000:3000 --name my-swaggipedia zooz/swaggipedia
```
**Configuring Swaggipedia**:
> There are a small number of environment variables supported by the image:
> - **LOG_LEVEL**: *One of: 'trace' | 'debug' | 'info' (Default) | 'warn' | 'error' | 'fatal'.*
> - **DATABASE_TYPE**: *One of: 'sqlite' (Default) | 'mysql' | 'postgres' | 'mariadb' | 'mssql' | 'oracle'.*
> - **DATABASE_ADDRESS**: *The host of the database.*
> - **DATABASE_NAME**: *The name of the database.*
> - **DATABASE_USERNAME**: *The username used to authenticate against the database.*
> - **DATABASE_PASSWORD**: *The password used to authenticate against the database. Supports SQLCipher encryption for SQLite.*
> - **SQLITE_STORAGE_PATH**: *The storage engine for sqlite (Only used by sqlite). Defaults to './db/swaggipedia.sqlite'.*
> - **APP_BASE_NAME**: *Enables tweaking the public folder containing the HTML file (Swaggipedia UI).*
> - **SECRETS_FILE_PATH**: *Path to a JSON file inside your Swaggipedia container that contains the application's secrets 'DATABASE_USERNAME' & 'DATABASE_PASSWORD'. (Commonly used by secrets management tools).*
### **Step 2**: manage the swagger files using swaggipedia API
Swaggipedia provides a super simple REST API to get/create/update/delete swagger files. [API Reference](https://payu.github.io/swaggipedia/)
### **Step 3**: browse your swagger using swaggipedia UI
```/ui```