Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Unable to identify the Swagger version or the Swagger version is unsupported

Not applicable

Error message: Unable to identify the Swagger version or the Swagger version is unsupported

I am working through the samples from GitHub and have brought in the Swagger example which appears to be correct (called 'OpenAPI Specification for the Apigee mock target service endpoint'). It says it is version 1.0.

When I try to create an API based on this and point it to the swagger document I get the message "Unable to identify the Swagger version or the Swagger version is unsupported".

I would have expected the sample on GitHub to be correct but maybe it is dated.

Solved Solved
1 7 4,959
1 ACCEPTED SOLUTION

@Chris Allen ,

It's a bug. Found out the root cause.

It's due to YAML OpenAPI Spec imported as URL. We are working on a fix as we speak. As a workaround, please use JSON OpenAPI Spec for time being. You can convert from YAML to JSON using http://playground.apistudio.io/, Use Downloads -> JSON after you copy paste YAML in editor.

We will keep you posted.

View solution in original post

7 REPLIES 7
Top Solution Authors