【问题标题】:Deploy API to APIM using Swagger file on Azure Devops在 Azure Devops 上使用 Swagger 文件将 API 部署到 APIM
【发布时间】:2022-08-17 01:18:23
【问题描述】:

我是 Devops 和 Azure Devops 的新手。

我需要创建一个能够使用 Swagger 将外部 API 部署到一个 APIM 的管道。

Swagger 对我来说也是新的。但是,我了解到我需要一个带有 swagger.yaml 文件的存储库。但是,我不确定如何创建一个可以发送到 Azure 门户的构建。

有没有办法做到这一点?如果这是一个愚蠢的问题,我深表歉意,但这些概念对我来说都是相对较新的。

    标签: azure api azure-devops swagger azure-pipelines


    【解决方案1】:

    您可以添加一个特殊任务来完成此操作。 我推荐这个,因为它很简单:

    你需要在那里配置一些东西。 这是一个详细的教程,希望对您有用:https://lurumad.github.io/continous-delivery-to-azure-api-management-using-azure-devops-pipelines

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-10-15
      • 2020-01-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多