File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 7
7
8
8
echo " fetching kas-fleet-manager from main"
9
9
wget -P .openapi https://raw.githubusercontent.com/redhat-developer/app-services-sdk-js/main/.openapi/kas-fleet-manager.yaml
10
-
10
+ echo " fetching connector_mgmgt from main"
11
+ wget -P .openapi https://github.com/redhat-developer/app-services-sdk-js/blob/main/.openapi/connector_mgmt.yaml
12
+ echo " fetching srs from main"
13
+ wget -P .openapi https://github.com/redhat-developer/app-services-sdk-js/blob/main/.openapi/srs-fleet-manager.json
14
+ echo " fetching smartevents from main"
15
+ wget -P .openapi https://github.com/redhat-developer/app-services-sdk-js/blob/main/.openapi/smartevents-mgmt.yaml
16
+ echo " fetching kafka-admin from main"
17
+ wget -P .openapi https://github.com/redhat-developer/app-services-sdk-js/blob/main/.openapi/kafka-admin-rest.yaml
11
18
# # TODO add more apis
12
19
20
+ # # linting the fetched apis
21
+ yarn spectral lint .openapi/connector_mgmt.yaml -v -r ./examples/.spectral-local.yaml
13
22
yarn spectral lint .openapi/kas-fleet-manager.yaml -v -r ./examples/.spectral-local.yaml
23
+ yarn spectral lint .openapi/srs-fleet-manager.json -v -r ./examples/.spectral-local.yaml
24
+ yarn spectral lint .openapi/smartevents-mgmt.yaml -v -r ./examples/.spectral-local.yaml
25
+ yarn spectral lint .openapi/kafka-admin-rest.yaml -v -r ./examples/.spectral-local.yaml
You can’t perform that action at this time.
0 commit comments