Skip to content

Latest commit

 

History

History
213 lines (141 loc) · 8.35 KB

SPEC_SUPPORT.md

File metadata and controls

213 lines (141 loc) · 8.35 KB

Raml 1.0 (rc2) Specification support

✅ The feature should work as expected

⚠️ The feature is not completed yet (see comments)

❌ The feature is not currently supported (PRs are welcome!)

Property Status Comments
description
(annotationName)?
schemas? ⚠️ Basic support. See Types support
types? ⚠️ Basic support. See Types support
traits? ⚠️ Definition and merging support. Not fully tested though
resourceTypes? ⚠️ Definition and merging support. Not fully tested though
annotationTypes?
securitySchemes? ⚠️ Definition and merging support. Not fully tested though
uses?
title
version
baseUri?
baseUriParameters?
protocols?
mediaType?
securedBy? ⚠️ Definition and merging support. Not fully tested though
/resources?
Property Status Comments
schema? ⚠️ Show deprecation notice when using RAML 1.0
type? ⚠️ Some inheritance and merging strategies might not work
example? ⚠️ Should complain if both example and examples are present
examples? ⚠️ Should complain if both example and examples are present
displayName?
description?
()?
Property Status Comments
properties? ⚠️ Some property limitations. See properties
minProperties? ⚠️ Not fully tested. Need examples
maxProperties? ⚠️ Not fully tested. Need examples
additionalProperties? ⚠️ Declaration works. Not fully tested
patternProperties? ⚠️ Declaration works. Not fully tested
discriminator?
Extra Feature Status
Alternative Syntax
Inheritance ⚠️ See inheritance
Map types

TBC

✅ Parsing Base Uri and Base parameters as collection should works as expected

⚠️ Template validation.

⚠️ These two properties should be mutually exclusive.

✅ Parsing protocols strings should work as expected

⚠️ Any protocol is currently accepted as long as they are strings.

✅ Parsing Media type and using it as default body key

⚠️ Media type validation

❌ Although parsing security schemes is supported, applying their properties to the resources and methods is not yet implemented

Property Status Comments
displayName
description
(annotationName)?
get?
patch?
put?
post?
delete?
options?
head?
is?
type?
securedBy? ⚠️ Merging of security scheme properties is not yet implemented
uriParameters?
/relativeUri as resource

⚠️ Parsing Uri Strings and Uri parameters as collection should works as expected

⚠️ Template validation.

⚠️ These two properties should be mutually exclusive.

Property Status Comments
displayName
description
(annotationName)?
queryParameters?
headers?
queryString?
responses?
body? ⚠️ Same Type limitations
protocols? ⚠️ Protocols limitations
is?
securedBy? ⚠️ Merging of security scheme properties is not yet implemented

✅ Parsing Headers as a properties declaration should work as expected

⚠️ Needs more testing, specially using headers of array type

✅ Parsing Query Strings and Query parameters as collection should works as expected

⚠️ Template validation.

⚠️ These two properties should be mutually exclusive.

✅ Body declarations using both strings (and therefore, default media type) and objects

⚠️ Same limitations as Raml Types

✅ Responses should work as expected

Feature status comments
Query Parameters, Responses, and Headers collection mergin
usage description
Optional properties (/^?/) ⚠️ Needs testing and real examples
Algorithm of Merging Traits With Methods ⚠️ Needs testing and real examples
Parameters (both custom and reserved parameters)
Modifier functions
Type Status Comments
OAuth 1.0
OAuth 2.0
Basic Authentication
Digest Authentication
Pass Through
x-{other}
null

⚠️ Merging security schemes is not yet implemented. ⚠️

❌ Not even started yet ❌

Type Status Comments
!include <absolute or relative url> as Type Fragments
!include <absolute or relative url>#<reference> as References to inner elements

❌ Not even started yet ❌

❌ Not even started yet ❌