Last active
July 18, 2024 23:23
-
-
Save emoran/c68a080128fdd1e1b721b7c53b478e7c to your computer and use it in GitHub Desktop.
Revisions
-
emoran revised this gist
Jul 18, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -29,4 +29,4 @@ securitySchemes: 200: body: application/json: examples: [{"Id":"34234324","Name":"Product1"}] -
emoran created this gist
Jul 18, 2024 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,32 @@ #%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: {"test":"success"}