RepreZen / KaiZen-OpenAPI-Editor

Eclipse Editor for the Swagger-OpenAPI Description Language
Eclipse Public License 1.0
115 stars 12 forks source link

OAS3 - Add validation & content assist for `type` in Security Scheme Object #448

Open tedepstein opened 6 years ago

tedepstein commented 6 years ago

In the Security Scheme Object, type is currently treated as an unconstrained string.

According to the spec:

Valid values are "apiKey", "http", "oauth2", "openIdConnect".

We should validate this, and should offer valid values in code assist.