Home > Software engineering >  How to replace Open api spec in Azure Api Management service
How to replace Open api spec in Azure Api Management service

Time:07-08

I have a rest api with its specification written in OAS 3.x version. This api spec yaml file has been uploaded into Azure Api Management service

Now I have added additional endpoints to this OpenAPI spec and I need to upload it again into Azure Api Management service

Now when I login to Azure >> API Management service >> I can see a list of api . Next to my api ( whose spec I want to upload can see three dots ) enter image description here

When I click on it I get multiple options one being :import IMport open api spec : enter image description here

This is where I am confused .. which option should I be selecting ? I simply need to update existing api specification with the new one ( with additional new endpoints )

I think I should be selecting Update but not quite sure ...

CodePudding user response:

If you are facing issues with update, there is an alternate way. Go to your API and select 'All Operations' there you have an Open API specification editor. You can just replace your code there (copy/paste).

enter image description here

  • Related