This is an OpenAPI3.0 specification UI project written by vuejs+typescript stack inspired by redoc . Currently, it supports json format spec only, yaml support is coming soon.
Clone the repo.
git clone [email protected]:unionj-cloud/go-doudou-openapi-ui.git
Install dependencies and start the project, then browser will be opened automatically.
yarn install && yarn serveAdd ?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



