#%RAML 1.0 Library

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: [ authorization_code ]
