Files
cloudpods/docs
Rain 8e55bee9b3 feat & fix: Add batch operator and fix some bugs for instance group
Feature:
1. Add apis: list server by group, list group by server, bind
servers, unbind servers, bind groups, unbind groups.
2. Add climc command and docs corresponding to the above newly added apis
3. Add log about binding and unbinding operator.
4. Support enable and disable instance group.
Fix:
1. Set capacity zeor if there are not enough resource aboue forced
instance group in one host.
2. Change the stage(real delete => pending delete) that guest leave all groups.
2019-11-06 13:06:03 +08:00
..
2019-10-31 19:51:02 +08:00
2019-10-31 19:51:02 +08:00
2019-10-24 11:40:22 +08:00
2019-10-31 19:51:02 +08:00
2019-10-24 11:40:22 +08:00
2019-10-24 11:40:22 +08:00
2019-10-31 19:51:02 +08:00
2019-10-31 19:51:02 +08:00
2019-10-31 19:51:02 +08:00
2019-10-31 19:51:02 +08:00
2019-06-29 10:41:38 +08:00
2019-10-31 19:51:02 +08:00
2019-07-24 16:10:06 +08:00
2019-09-24 17:54:29 +08:00
2019-08-02 17:08:26 +08:00
2019-10-31 19:51:02 +08:00
2019-07-24 16:10:06 +08:00
2019-10-31 19:51:02 +08:00
fix
2019-10-14 11:07:46 +08:00
2019-09-16 14:50:29 +08:00
2019-10-31 19:51:02 +08:00
2019-07-27 17:58:41 +08:00
2019-07-27 17:58:41 +08:00

swagger.yaml

使用swagger编辑器

docker run -d -p 8081:8080 swaggerapi/swagger-editor

swagger文档https://swagger.io/docs/specification/2-0/basic-structure/

编辑测试:

  1. 首先启动swagger-ui

    sudo docker pull swaggerapi/swagger-ui sudo docker run -d -p 80:8080 swaggerapi/swagger-ui

  2. 用python启动本地的http server这是允许CORS的SimpleHTTPServer监听在8000端口

    python server.py

  3. 用浏览器打开swagger-ui的URLhttp://<swagger_ui_host>?url=http://<simple_http_server_host>:8000/index.yaml