diff --git a/rdl.json b/rdl.json index 8e098a9..46f1a88 100644 --- a/rdl.json +++ b/rdl.json @@ -786,6 +786,12 @@ "optional": true, "comment": "The resources for a service this schema defines", "items": "Resource" + }, + { + "name": "base", + "type": "String", + "optional": true, + "comment": "the base path for resources in the schema." } ] } diff --git a/rdl.md b/rdl.md index aa2b743..a68fd36 100644 --- a/rdl.md +++ b/rdl.md @@ -427,4 +427,5 @@ external references). and is the output of the RDL parser. | comment | String | optional | The comment for the entire schema | | | types | Array<[Type](#type)> | optional | The types this schema defines. | | | resources | Array<[Resource](#resource)> | optional | The resources for a service this schema defines | | +| base | String | optional | the base path for resources in the schema. | | diff --git a/rdl.rdl b/rdl.rdl index 7740b2e..0ab7e29 100644 --- a/rdl.rdl +++ b/rdl.rdl @@ -255,4 +255,5 @@ type Schema Struct { String comment (optional); // The comment for the entire schema Array types (optional); // The types this schema defines. Array resources (optional); // The resources for a service this schema defines + String base (optional); //the base path for resources in the schema. }