Last active
July 18, 2024 23:23
-
-
Save emoran/c68a080128fdd1e1b721b7c53b478e7c to your computer and use it in GitHub Desktop.
oauth2schemeAPI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#%RAML 1.0 | |
title: cool-system-api | |
securitySchemes: | |
oauth_2_0: | |
description: Mulesoft OAUTH 2 | |
describedBy: | |
headers: | |
Authorization: | |
type: string | |
required: true | |
responses: | |
401: | |
description: Bad request | |
403: | |
description: Bad Oauth Request | |
type: OAuth 2.0 | |
settings: | |
authorizationUri: http://moran-oauth-provider.us-e2.cloudhub.io/validate | |
accessTokenUri: http://moran-oauth-provider.us-e2.cloudhub.io/token | |
authorizationGrants: [client_credentials] | |
/products: | |
description: Get product List | |
displayName: Get Products | |
get: | |
securedBy: [oauth_2_0] | |
responses: | |
200: | |
body: | |
application/json: | |
examples: [{"Id":"34234324","Name":"Product1"}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment