raml-org / raml-tck

Test Compatibility Kit for RAML 1.0
http://raml-org.github.io/raml-tck/
8 stars 10 forks source link

Diff in top level format of resource types between 0.8 and 1.0 #16

Closed xaka closed 8 years ago

xaka commented 8 years ago

RAML 0.8:

resourceTypes: [
  {
    "resourceType01": {
      ...
    }
  }
]

RAML 1.0:

resourceTypes: [
  {
    "name": "resourceType01",
    ...
  }
]

I'd say that 1.0 format is better by all means, but how much effort would it take to adjust existing tools? Do we care or just do it or stick to old format?

@dmartinezg @blakeembrey

xaka commented 8 years ago

Actually at this point we don't have enough time for changing existing tools for cases without ambiguously (for both 0.8 and 1.0 the format can be the same) so I'd say we need to change output to old format.