Error: Exception Type: Microsoft.OpenApi.Readers.Exceptions.OpenApiUnsupportedSpecVersionException Message: OpenAPI specification version '3.1.0' is not supported.
So far we've had no trouble importing Open API spec 3.0.0 documentation. Is there a compatibility issue with the latest 3.1.0 spec?
We use OpenAPI.net to read and parse the swagger. The current version does not support version 3.1.0, but there is a preview version that supports it. https://github.com/microsoft/OpenAPI.NET/issues/795 They are currently on preview 7.
They will work on this for a future release. The decision to be made is whether to wait for a full release instead of getting it to work with the preview release.
For now there doesn’t seem like a workaround for this, I could not find a way to make it use version 3.0.0.
We use OpenAPI.net to read and parse the swagger. The current version does not support version 3.1.0, but there is a preview version that supports it. https://github.com/microsoft/OpenAPI.NET/issues/795 They are currently on preview 7.
They will work on this for a future release. The decision to be made is whether to wait for a full release instead of getting it to work with the preview release.
For now there doesn’t seem like a workaround for this, I could not find a way to make it use version 3.0.0.
Thanks for the quick response! That in itself is already an answer; we'll pursue other sources first while awaiting this release. Seeing as there is already a preview 8 by now, there does seem to be active development from their side. Do what you think is wise; we’re eager to use it whenever it becomes available!
It might be useful for others to list this as a compatibility issue on the REST Data Source's documentation page. With how valuable this feature has been already, I expect others will soon run into the same issue.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.