swagger-editor 快速REST-API 测试文档编写 By 映映 发表于 2016-11-02 1. 在线使用 http://editor.swagger.io/#/ 2. 离线工具 https://github.com/swagger-api/swagger-editor 3. 跨域访问问题: 添加一下: Access-Control-Allow-Origin: * Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept 4. docker 安装 docker pull swaggerapi/swagger-editor docker run -p 80:8080 swaggerapi/swagger-editor