VishalMysore commited on
Commit
72490a1
1 Parent(s): 669f84a

Create cloud.yaml

Browse files
Files changed (1) hide show
  1. cloud.yaml +74 -0
cloud.yaml ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ openapi: 3.0.0
2
+ info:
3
+ title: Overview Data
4
+ version: '1.0'
5
+ components:
6
+ schemas:
7
+ AWS:
8
+ type: object
9
+ properties:
10
+ name:
11
+ type: string
12
+ enum:
13
+ - AWS
14
+ value:
15
+ example: 38
16
+ pattern: "^[1-9][1-9]$"
17
+ GoogleCloud:
18
+ type: object
19
+ properties:
20
+ name:
21
+ type: string
22
+ enum:
23
+ - GoogleCloud
24
+ value:
25
+ example: 38
26
+ pattern: "^[1-9][1-9]$"
27
+ Alibaba:
28
+ type: object
29
+ properties:
30
+ name:
31
+ type: string
32
+ enum:
33
+ - Alibaba
34
+ value:
35
+ example: 38
36
+ pattern: "^[1-9][1-9]$"
37
+ Azure:
38
+ type: object
39
+ properties:
40
+ name:
41
+ type: string
42
+ enum:
43
+ - Azure
44
+ value:
45
+ example: 38
46
+ pattern: "^[1-9][1-9]$"
47
+ Cloud:
48
+ type: object
49
+ properties:
50
+ cloudNetwork:
51
+ type: array
52
+ items:
53
+ - $ref: '#/components/schemas/AWS'
54
+ - $ref: '#/components/schemas/GoogleCloud'
55
+ - $ref: '#/components/schemas/Alibaba'
56
+ - $ref: '#/components/schemas/Azure'
57
+ total:
58
+ type: integer
59
+ minimum: 1
60
+ maximum: 1000
61
+ servers:
62
+ - url: 'http://localhost:3000'
63
+ paths:
64
+ /advance1:
65
+ get:
66
+ summary: Your GET endpoint
67
+ tags: []
68
+ responses:
69
+ '200':
70
+ description: OK
71
+ content:
72
+ application/json:
73
+ schema:
74
+ $ref: '#/components/schemas/Cloud'