Closed xaka closed 8 years ago
RAML:
#%RAML 0.8 title: My API baseUri: http://localhost:9000 securitySchemes: - oauth_2_0: type: OAuth 2.0 describedBy: headers: Authorization: type: string queryParameters: access_token: type: string responses: 404: description: Unauthorized settings: authorizationUri: https://acme.com/login/oauth/authorize accessTokenUri: https://acme.com/login/oauth/access_token authorizationGrants: [ code ] securedBy: [ null, oauth_2_0 ] /resources: get:
RAML 0.8 JSON:
"securedBy": [ null, "oauth_2_0" ],
RAML 1.0 JSON:
"securedBy": [ "null", "oauth_2_0" ],
RAML:
RAML 0.8 JSON:
RAML 1.0 JSON: