Sematic error of the OAS in editor.swagger.io

The Swagger Editor (editor.swagger.io) complains about the name of the securitySchema OAuth 2.0, saying no dots and blanks allowed.

image

Current implementation

"components": {
    "securitySchemes": {
      "OAuth 2.0": { ... },
        "description": "Dieses Authentifizierungsmethode wird genutzt, um den Zugriff auf die Produktiv API zu autorisieren. "
      }
    }
  }

Suggested Enhancement

"components": {
    "securitySchemes": {
      "OAuth20": { ... },
        "description": "Dieses Authentifizierungsmethode wird genutzt, um den Zugriff auf die Produktiv API zu autorisieren. "
      }
    }
  }

Expected Benefit

The swagger editor can be used, e.g. to visualise the APIs or to generate code.

Edited by Peter Kuhn