You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, ramlfications only supports an optional method parameter within ResourceTypes (e.g. get?, post?, yet the RAML spec allows support for all non-scalar properties within a resource type and a trait.
For example:
# <--snip-->resourceTypes:
- gizmoType:
description: get-method resource type exampleusage: Some sort of usage descriptionget:
description: This description should be inherited when applied to resourcesheaders?:
X-Inherited-Header:
description: This header should be inherited/a-gizmo-resourcetype: gizmoTypeget:
description: fooheaders:
X-Gizmo-Header:
description: Here is a gizmo header
Here the headers under gizmoType are denoted as optional (with the ?) but does not actually get carried down into the /a-gizmo-resource as it explicitly defines headers (shouldn't be exclusive one or the other, either).
The text was updated successfully, but these errors were encountered:
Currently,
ramlfications
only supports an optionalmethod
parameter withinResourceType
s (e.g.get?
,post?
, yet the RAML spec allows support for all non-scalar properties within a resource type and a trait.For example:
Here the
headers
undergizmoType
are denoted as optional (with the?
) but does not actually get carried down into the/a-gizmo-resource
as it explicitly defines headers (shouldn't be exclusive one or the other, either).The text was updated successfully, but these errors were encountered: