I have created 4 datatype files and a property in one of them is a queryParameter in the main api.raml file. I have included the required file in types:
What I can not seem to find is the syntax to properly reference the property in the included Here is the type list at the top of the ami.raml file:
Class: !include datatypes/Class.raml
Course: !include datatypes/Course.raml
PublishedInstructor: !include datatypes/PublishedInstructor.raml
Meeting: !include datatypes/Meeting.raml
Here is the query section as is:
enum: [ art, fas, gsas, gsd, hbsd, hbsm, hcol, hds, hgse, hks, hls, hms, hsdm, hsph, dce ]
While the above works just fine, I want to externalize the catalogSchool which is in the Class.raml file. The reason is that catalogSchool may change and this will save others having to figure out changes each time.
How would I properly reference catalogSchool as a queryParameter in this api.raml file? catalogSchool: does not work the type from the Class.raml file is not picked up.