1 Star 0 Fork 0

mirror_swagger/swagger-editor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
import.md 894 Bytes
一键复制 编辑 原始数据 按行查看 历史

Importing OpenAPI Documents

Swagger Editor can import your OpenAPI document, which can be formatted as JSON or YAML.

Local File

File → Import File

Click Choose File and select import. The file you are importing has to be a valid JSON or YAML OpenAPI document. Swagger Editor will prompt you about validation errors, if any exist.

Drag and Drop

Simply drag and drop your OpenAPI JSON or YAML document into the Swagger Editor browser window.

Swagger Editor drag and drop demo

Public URL

File → Import URL

Paste the URL to your OpenAPI document.

GET Parameter

Request editor.swagger.io to import an OpenAPI specification from publicly accessible content via the ?url= parameter:

https://editor.swagger.io/?url=https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v2.0/yaml/api-with-examples.yaml
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirror_swagger/swagger-editor.git
git@gitee.com:mirror_swagger/swagger-editor.git
mirror_swagger
swagger-editor
swagger-editor
master

搜索帮助