-
Notifications
You must be signed in to change notification settings - Fork 0
/
openapi.yml
32 lines (30 loc) · 889 Bytes
/
openapi.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
openapi: 3.0.3
info:
version: 0.0.1
title: EmporioLambda Backend # Domain name
description: description
servers:
# Added by API Auto Mocking Plugin
- description: SwaggerHub API Auto Mocking
url: https://app.swaggerhub.com/apis/NotOnlyStudents/Backend/0.0.1
- description: Local URL base
url: http://local:3000/dev
- description: Testing URL base
url: http://api.annoiato.net/test
- description: Testing URL base
url: http://api.annoiato.net/staging
# All paths
paths:
{}
components:
securitySchemes:
oAuth:
type: oauth2
description: This API uses OAuth2.0 with implicit flow.
flows:
implicit:
authorizationUrl: https://...
refreshUrl: https://... # optional: url to obtain refreshed token
scopes:
read: read for customers and admins
write: edit data only for admins