这里应该上传什么样的文件?
问问题
64 次
1 回答
0
您可以上传包含您的 API 规范的 JSON 或 YAML 文件,您可以在此处找到更多信息。
示例 json 文件:
{
"title": "Sample Pet Store App",
"description": "This is a sample server for a pet store.",
"termsOfService": "http://example.com/terms/",
"contact": {
"name": "API Support",
"url": "http://www.example.com/support",
"email": "support@example.com"
},
"license": {
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "1.0.1"
}
于 2020-11-18T12:49:06.843 回答