Open memelet opened 7 years ago
Is there anyway to pass annotation values to a handler? eg,
annotationTypes: permissions: type: string /users: get: (permissions): 'foo:bar' queryParameters: sort: enum: [username, name]
The application middleware needs the required permissions value to validate against the JWT.
Hmm, from what I can tell the annotation types are parsed and added to 'raml' along with the resource definitions, but the actual annotation values are dropped on the floor. No?
Is there anyway to pass annotation values to a handler? eg,
The application middleware needs the required permissions value to validate against the JWT.