-
Notifications
You must be signed in to change notification settings - Fork 859
FAQ
Where it is true that both target a single body
node, one may want to further restrict an annotation to either a request or response. If anyone wants to address an annotation to both regardless if it's request or response, they still are able to define allowedTargets: [ RequestBody, ResponseBody ]
.
Yes, with RAML 1.0 we introduce our first major version and with that there will be breaking changes compared to RAML 0.8 in favour for a more simplified and consistent version. All breaking changes are highlighted here.
In RAML 1.0 'schemas' and 'schema' is deprecated, does that mean RAML 1.0 will remove support for JSON or XML schema?
No, with RAML 1.0 we introduce RAML data types that supports modeling data not only in YAML, but also in JSON/XML. Deprecated only means that the keywords might be removed in a future version. Therefore, it is recommended to use 'types' and 'type' that are fully synonymously to 'schemas' and 'schema' respectively.