I recently started to document our Api in a raml format. For all my endpoints I have a queryParam ‘token’ that has an unique key so that the backend can verify client is authenticated. Currently I have to repeat that qp in all my endpoints user.
Is there a way to define those few lines once at the beginning pof the .raml file and refer to those everywhere I need in the configuration file?
e.g. I need to add this for all endpoints:
author: displayName: Author type: string description: An author's full name example: Mary Roach required: false
and include it further down in the file