https://github.com/easylogic/whatsup
Modern Swagger JSON Management Tool
https://github.com/easylogic/whatsup
management multi swagger ui
Last synced: 10 months ago
JSON representation
Modern Swagger JSON Management Tool
- Host: GitHub
- URL: https://github.com/easylogic/whatsup
- Owner: easylogic
- License: mit
- Created: 2020-08-16T12:22:32.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-08-20T12:22:39.000Z (over 1 year ago)
- Last Synced: 2024-10-29T16:07:14.524Z (over 1 year ago)
- Topics: management, multi, swagger, ui
- Language: TypeScript
- Homepage:
- Size: 4 MB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WHATS UP
Modern Swagger JSON Management Tool
# Getting Started
First, you need to get a json file supported by swagger.
Then put the downloaded file in the src/data/ directory.
```js
// package.json
"script": {
...
"download:pet": "curl https://petstore.swagger.io/v2/swagger.json > src/data/pet.json",
"download": "npm run download:pet"
...
}
```
And add the downloaded json file to the src/data/index.ts file.
```js
// src/data/index.ts
import pet from './pet.json';
export default {
pet, // add json file
} as {[key: string]: any}
```
### Start - `pnpm start`
```sh
git clone https://github.com/easylogic/whatsup
cd whatsup
pnpm install
pnpm start
```
### Build - `pnpm build`
```sh
pnpm build
```
After executing pnpm build, SPA related files are created in the build directory.
Use this output if you want to deploy to a specific static server.
### License - MIT