Skip to content

unionj-cloud/go-doudou-openapi-ui

Repository files navigation

go-doudou-openapi-ui

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.

example

Usage

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 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 screenshot2 screenshot3