Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 563 Bytes

swagger.md

File metadata and controls

13 lines (8 loc) · 563 Bytes

Before starting the APIServer, execute the following one command to clone Swagger UI:

make swagger-ui

Then, start the APIServer and explore all API documentation via the Swagger UI: http://localhost:9090/apidocs/?url=http://localhost:9090/apidocs.json.

  • The URL pattern is like http://ip:port/apidocs/?url=http://ip:port/apidocs.json

In kubesphere enabled DevOps, you could update service type of devops-apiserver to NodePort, and then via the Swagger UI: http://ip:NodePort/apidocs/?url=http://ip:NodePort/apidocs.json.