Skip to content

OpenApiReader v1.1.0-preview.4 no longer throws OpenApiUnsupportedSpecVersionException when trying to read an unsupported version document #302

Closed

Description

When reading below document via OpenApiStringReader, it no longer throws OpenApiUnsupportedSpecVersionException exception with v1.1.0-preview.4, it used to be thrown with v1.0.0 is there a reason why this behavior was changed.

{
"swagger": "1.0",
"info": {
"title": "This is a simple example",
"version": "1.0.0"
},
"host": "example.org",
"basePath": "/api",
"schemes": [
"http",
"https"
],
"paths": {}
}

Activity

  1. darrelmiller commented on Jul 26, 2018

    @darrelmiller
    Member

    That wasn't intentional. I believe there was a change to the behavior when the version wasn't present, but the above example should not have changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions