如何通过上传API文件将API导入Azure APIM

如何通过上传API文件将API导入Azure APIM,azure,swagger,apim,Azure,Swagger,Apim,这里应该上载什么类型的文件?您可以上载包含API规范的JSON或YAML文件,您可以找到更多信息 示例性json文件: { "title": "Sample Pet Store App", "description": "This is a sample server for a pet store.", "termsOfService": "http://example.c


这里应该上载什么类型的文件?

您可以上载包含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"
}

这是回答你的问题还是我误解了你的问题?