mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-01 15:07:17 +08:00
Merge pull request #976 from yousong/feature/yousong-swagger-api
docs: 添加认证描述
This commit is contained in:
@@ -3,3 +3,5 @@
|
||||
使用swagger编辑器
|
||||
|
||||
docker run -d -p 8081:8080 swaggerapi/swagger-editor
|
||||
|
||||
swagger文档,https://swagger.io/docs/specification/2-0/basic-structure/
|
||||
|
||||
@@ -26,6 +26,14 @@ tags:
|
||||
- name: loadbalancerbackendgroups
|
||||
- name: loadbalancerbackends
|
||||
|
||||
securityDefinitions:
|
||||
keystone:
|
||||
type: apiKey
|
||||
in: header
|
||||
name: X-Auth-Token
|
||||
security:
|
||||
- keystone: []
|
||||
|
||||
paths:
|
||||
/loadbalancers:
|
||||
get:
|
||||
|
||||
Reference in New Issue
Block a user