We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f1a793 commit 16c63efCopy full SHA for 16c63ef
demo/models/oAuth2/oAuth2.raml
@@ -0,0 +1,25 @@
1
+#%RAML 1.0
2
+title: oauth2
3
+description: Best API ever
4
+securitySchemes:
5
+ oAuth2:
6
+ type: OAuth 2.0
7
+ settings:
8
+ authorizationGrants:
9
+ [ client_credentials, password, authorization_code, implicit ]
10
+ authorizationUri: https://api.example.com/oauth2/authorize
11
+ accessTokenUri: https://api.example.com/oauth2/token
12
+ redirectUri: https://tudev-app.com/callback
13
+/products:
14
+ get:
15
+ securedBy:
16
+ - oAuth2
17
+ responses:
18
+ 200:
19
+ body:
20
+ application/json:
21
+ type: string
22
+ example: |
23
+ {
24
+ "message": "OK"
25
+ }
0 commit comments