Merge pull request #976 from yousong/feature/yousong-swagger-api

docs: 添加认证描述
This commit is contained in:
yunion-ci-robot
2019-05-29 19:56:18 +08:00
committed by GitHub
2 changed files with 10 additions and 0 deletions
+2
View File
@@ -3,3 +3,5 @@
使用swagger编辑器
docker run -d -p 8081:8080 swaggerapi/swagger-editor
swagger文档,https://swagger.io/docs/specification/2-0/basic-structure/
+8
View File
@@ -26,6 +26,14 @@ tags:
- name: loadbalancerbackendgroups
- name: loadbalancerbackends
securityDefinitions:
keystone:
type: apiKey
in: header
name: X-Auth-Token
security:
- keystone: []
paths:
/loadbalancers:
get: