简体   繁体   English

如何在 Swagger 中部署/归档相应的服务器基础端点

[英]How to deploy/filer the respective Server base endpoint in Swagger

I have an YAML/JSON files and we have the base serve endpoint defined as seen in the below screenshot.我有一个 YAML/JSON 文件,我们定义了基本服务端点,如下面的屏幕截图所示。 How do we filter only the respective base URL for specific environment我们如何针对特定环境仅过滤相应的基础 URL

For instance: Server: dev files should be deployed to DEV environment, Stage files should be deployed to Stage environment and so on例如:服务器:dev文件应该部署到DEV环境,Stage文件应该部署到Stage环境等等

Note: I'm using Azure pipeline for deployment.注意:我使用 Azure 管道进行部署。

在此处输入图像描述

In your current situation, in the devops pipeline, we do not have this function/option to do this.在您目前的情况下,在 devops 管道中,我们没有此功能/选项来执行此操作。 We recommend you can try to create a New Generic service connection and use it in your different deploy steps.我们建议您可以尝试创建一个新的通用服务连接并在您的不同部署步骤中使用它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在不构建项目的情况下部署到服务器 - How to deploy to a server without build a projekt 部署到具有专用端点的 Azure Web 应用程序 - Deploy to an Azure Web App with a private endpoint VSTS-MVC Web应用程序部署任务已弃用。 如何在Prem上部署到测试服务器 - VSTS - MVC Web app deploy task is deprecated. How to deploy to test server on prem 如何使用 Azure 构建代理部署到内部服务器? - How to deploy using Azure build agent to internal server? 如何使用 Azure 管道将 Java/Maven 应用程序部署到本地服务器? - How to deploy a Java/Maven application to a local server using Azure pipelines? 如何使用 azure-devops 将应用程序部署到特定的 ubuntu 服务器? - how to deploy an application to a particular ubuntu server using azure-devops? 如何从 azure devops 服务器将 windows 服务部署到 onprem vm? - How to deploy windows service to onprem vm from azure devops server? 使用 Azure 上的 Swagger 文件将 API 部署到 APIM - Deploy API to APIM using Swagger file on Azure Devops 如何从扩展中获取/识别 Azure DevOps Server 基本 URL? - How to get/identity the Azure DevOps Server base URL from the extension? Team Services部署到本地Service Fabric,而没有暴露的终结点 - Team Services deploy to on-premise Service Fabric without exposed endpoint
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM