colossal-room-15708
03/22/2021, 9:38 PMconst api = new azure.apimanagement.Api(`${prefix}-fn`, {
resourceGroupName: resourceGroup.name,
apiManagementName: apimService.name,
revision: "1",
displayName: "API",
path: `${prefix}-fn`,
protocols: ["https"],
"import": {
contentFormat: "swagger-link-json",
contentValue: "<https://url/api/swagger.json>",
},
});
This is the original API. We now updated the swagger with an additional endpoint and want to create a new revision. Or do we want a new version?
Changing the revision
value fails. Do we add a whole new API resource and increment the revision? So have the same as above again just with a new revision? I feel like that will fail as well.