File tree Expand file tree Collapse file tree 9 files changed +354
-330
lines changed
Expand file tree Collapse file tree 9 files changed +354
-330
lines changed Original file line number Diff line number Diff line change 1+ name : Run Spectral on Pull Requests
2+
3+ on :
4+ - pull_request
5+
6+ jobs :
7+ build :
8+ name : Lint
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+ - name : Lint SDK specification
13+ uses : stoplightio/spectral-action@latest
14+ with :
15+ file_glob : ' sdk/*.yaml'
16+ - name : Lint distribution specification
17+ uses : stoplightio/spectral-action@latest
18+ with :
19+ file_glob : ' dist/*.yaml'
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ paths:
179179 in : query
180180 schema :
181181 type : integer
182- example : ' 063 '
182+ example : 51
183183 responses :
184184 ' 200 ' :
185185 description : Request successful
Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ paths:
229229 in : query
230230 schema :
231231 type : integer
232- example : ' 063 '
232+ example : 51
233233 responses :
234234 ' 200 ' :
235235 $ref : ' #/paths/~1transfer/post/responses/200'
Original file line number Diff line number Diff line change @@ -2321,12 +2321,12 @@ paths:
23212321 in : query
23222322 schema :
23232323 type : integer
2324- example : ' 50 '
2324+ example : 50
23252325 - name : page
23262326 in : query
23272327 schema :
23282328 type : integer
2329- example : ' 2 '
2329+ example : 2
23302330 responses :
23312331 ' 200 ' :
23322332 $ref : ' #/paths/~1product/post/responses/201'
@@ -2353,12 +2353,12 @@ paths:
23532353 in : query
23542354 schema :
23552355 type : integer
2356- example : ' 50 '
2356+ example : 50
23572357 - name : page
23582358 in : query
23592359 schema :
23602360 type : integer
2361- example : ' 2 '
2361+ example : 2
23622362 responses :
23632363 ' 200 ' :
23642364 $ref : ' #/paths/~1product/post/responses/201'
@@ -3843,7 +3843,7 @@ paths:
38433843 in : query
38443844 schema :
38453845 type : integer
3846- example : ' 063 '
3846+ example : 51
38473847 responses :
38483848 ' 200 ' :
38493849 $ref : ' #/paths/~1page/get/responses/200'
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ paths:
179179 in : query
180180 schema :
181181 type : integer
182- example : ' 063 '
182+ example : 51
183183 responses :
184184 ' 200 ' :
185185 $ref : ' #/paths/~1transfer/post/responses/200'
Original file line number Diff line number Diff line change 88 in : query
99 schema :
1010 type : integer
11- example : ' 50 '
11+ example : 50
1212 - name : page
1313 in : query
1414 schema :
1515 type : integer
16- example : ' 2 '
16+ example : 2
1717 responses :
1818 200 :
1919 $ref : ' ../../responses/created.yaml'
Original file line number Diff line number Diff line change 1414 in : query
1515 schema :
1616 type : integer
17- example : ' 50 '
17+ example : 50
1818 - name : page
1919 in : query
2020 schema :
2121 type : integer
22- example : ' 2 '
22+ example : 2
2323 responses :
2424 200 :
2525 $ref : ' ../../responses/created.yaml'
Original file line number Diff line number Diff line change 88 in : query
99 schema :
1010 type : integer
11- example : ' 0022728151'
11+ example : 0022728151
1212 - name : bank_code
1313 in : query
1414 schema :
1515 type : integer
16- example : ' 063'
16+ example : 063
1717 responses :
1818 200 :
1919 $ref : ' ../../responses/ok.yaml'
You can’t perform that action at this time.
0 commit comments