/swagger-ui-desktop

A Swagger-UI wrapper application using Electron

Primary LanguageJavaScriptCreative Commons Zero v1.0 UniversalCC0-1.0

swagger-ui-desktop

A desktop wrapper application for swagger-ui

This is a swapper-ui wrapper application built using Electron application based on the within the Electron documentation.

To run the application locally without building

# Clone this repository
git clone https://github.com/shirishp/swagger-ui-desktop.git
# Go into the repository
cd swagger-ui-desktop
# Install dependencies and run the app
npm install && npm start

To build application locally

# Clone this repository
git clone https://github.com/shirishp/swagger-ui-desktop.git
# Go into the repository
cd swagger-ui-desktop
# Install dependencies
npm install
# Install electron-packager
npm install electron-packager -g
# Build application for Mac OS X
electron-packager . "Swagger UI Desktop" --platform=darwin --arch=x64 --version=0.35.6 --icon=images/icon.icns --out=dist

Read full documentation on how to use electron-packager

Screenshot

Screenshot of Swagger-UI-Desktop running on Mac OS X