Skip to content

Commit

Permalink
Merge pull request #4 from ardielle/basepath
Browse files Browse the repository at this point in the history
Added optional base parameter to RDL schema.
  • Loading branch information
boynton authored Mar 21, 2017
2 parents 8dc28f5 + e50c7ff commit f07dd77
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rdl.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
]
}
Expand Down
1 change: 1 addition & 0 deletions rdl.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. | |

1 change: 1 addition & 0 deletions rdl.rdl
Original file line number Diff line number Diff line change
Expand Up @@ -255,4 +255,5 @@ type Schema Struct {
String comment (optional); // The comment for the entire schema
Array<Type> types (optional); // The types this schema defines.
Array<Resource> resources (optional); // The resources for a service this schema defines
String base (optional); //the base path for resources in the schema.
}

0 comments on commit f07dd77

Please sign in to comment.