Added files for RAML annotations article

This commit is contained in:
Kevin Gilmore
2016-02-17 11:38:29 -06:00
parent d8ebf49f2d
commit 7fb50bfaed
13 changed files with 330 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
#%RAML 1.0 Library
# This is the file /libraries/securitySchemes.raml
securitySchemes:
- basicAuth:
description: Each request must contain the headers necessary for
basic authentication
type: Basic Authentication
describedBy:
headers:
Authorization:
description: |
Used to send the Base64 encoded "username:password"
credentials
type: string
responses:
401:
description: |
Unauthorized. Either the provided username and password
combination is invalid, or the user is not allowed to
access the content provided by the requested URL.