[英]How to import API into Azure APIM by uploading API swagger file
You can upload a JSON or YAML file that contains your API specification, you can find more info here .您可以上传包含您的 API 规范的 JSON 或 YAML 文件,您可以在此处找到更多信息。
Exemplary json file:示例 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"
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.