I try to describe my API in RAML 1.0 which uses Basic Authentication. I use two different users (or groups) with different access rights. The RAML spec mentions to support Basic Authentication but doesn’t state any details. I tried definitions similar than those for OAuth 2.0 like “basic_authentication: !include securitySchemes/basic_authentication.raml” and “basic: !include securitySchemes/basic.raml” but according to API Workbench those are wrong. I could find some example regarding RAML 0.8 but don’t know how to adapt it to RAML 1.0.
I would be very much appreciated if somebody could provide a simple example how to use Basic Authentication, ideally with two different users/groups. Thanks a lot.