An open API service indexing awesome lists of open source software.

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

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