oasis-open / odata-rapid

Rapid - Specification, tools and libraries to support the development and adoption of simple REST-based APIs.
https://rapid.rocks
Apache License 2.0
17 stars 8 forks source link

RSDL Editor doesn't distinguish property named "key" from keyword #367

Open mikepizzo opened 1 year ago

mikepizzo commented 1 year ago

Steps to reproduce:

1) Go to https://rapid.rocks/api-designer/index.html and copy the following into the RSDL Editor:

type myType
{
  key: String
}

Result: the property name "key" is highlighted as if it is a keyword. If "key" is followed by a colon it should be treated as a literal (note that CSDL generation does get this right).

ralfhandl commented 1 year ago

Probably part of issue #393