Kirsten
Kirsten

Reputation: 18066

Please specify valid OpenAPI specification file

I just created an new API Management Service. I am following the tutorial instructions here

enter image description here

I am copying the value

http://conferenceapi.azurewebsites.net?format=json

straight from the tutorial. Why is it not valid?

Upvotes: 3

Views: 3924

Answers (2)

Michael Burke
Michael Burke

Reputation: 1

At the end of my frustration with the same, I copied the contents of the generated swagger.json file into Notepad and saved as swagger.json on my Desktop. Skipped the validation url for a file upload option and was able to Create.

All seems to work fine now.......I don't know..........I just don't know........

Followed through and it appears DNS related: $ ping https://weatherdataapi157e60163e.azure-api.netping: https://weatherdataapi157e60163e.azure-api.net: Name or service not known

Upvotes: 0

Kirsten
Kirsten

Reputation: 18066

This is a false warning. Clicking Create does work.

Upvotes: 0

Related Questions