Closed VasiliyLysokobylko closed 8 years ago
RAML 1.0 RC2 should clearly state that schema and type are mutually exclusive. Therefore, the following should be invalid in any future version of RAML.
schema
type
/resource: get: responses: 200: body: application/json: schema: type:
You are still allowed to have global definitions for schemas or types, although it is recommended to use types only.
schemas
types
https://github.com/raml-org/raml-spec/issues/308
Not yet done and related to #69
RAML 1.0 RC2 should clearly state that
schema
andtype
are mutually exclusive. Therefore, the following should be invalid in any future version of RAML.You are still allowed to have global definitions for
schemas
ortypes
, although it is recommended to usetypes
only.