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

https://github.com/unionj-cloud/go-doudou-openapi-ui

OpenAPI3 Online Documentation UI
https://github.com/unionj-cloud/go-doudou-openapi-ui

openapi3 swagger swagger3 vuejs

Last synced: about 1 year ago
JSON representation

OpenAPI3 Online Documentation UI

Awesome Lists containing this project

README

          

# go-doudou-openapi-ui
This is an OpenAPI3.0 specification UI project written by vuejs+typescript stack inspired by [redoc](https://github.com/Redocly/redoc) . Currently, it supports json format spec only, yaml support is coming soon.

![example](./example.gif)
## Usage
Clone the repo.
```
git clone git@github.com:unionj-cloud/go-doudou-openapi-ui.git
```
Install dependencies and start the project, then browser will be opened automatically.
```shell
yarn install && yarn serve
```

Add `?docUrl=${OAS3_SPEC_LINK}` to `http://localhost:9527/#/index` and click `enter`, online documentation will display.

NOTE: `${OAS3_SPEC_LINK}` must support cors visit, for example: `https://petstore3.swagger.io/api/v3/openapi.json`

## Screenshot
![screenshot](./screenshot.png)
![screenshot2](./screenshot2.png)
![screenshot3](./screenshot3.png)