-
Notifications
You must be signed in to change notification settings - Fork 1
/
sync.sh
24 lines (21 loc) · 896 Bytes
/
sync.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
curl -o ./res/fingerprint-server-api.yaml https://fingerprintjs.github.io/fingerprint-pro-server-api-openapi/schemas/fingerprint-server-api-compact.yaml
examplesList=(
'get_visits_200_limit_1.json'
'get_visits_200_limit_500.json'
'get_visits_403_error.json'
'get_visits_429_too_many_requests_error.json'
'webhook.json'
'get_event_200.json'
'get_event_200_all_errors.json'
'get_event_200_extra_fields.json'
'get_event_403_error.json'
'get_event_404_error.json'
'get_event_200_botd_failed_error.json'
'get_event_200_botd_too_many_requests_error.json'
'get_event_200_identification_failed_error.json'
'get_event_200_identification_too_many_requests_error.json'
)
for example in ${examplesList[*]}; do
curl -o ./src/FingerprintPro.ServerSdk.Test/mocks/"$example" https://fingerprintjs.github.io/fingerprint-pro-server-api-openapi/examples/"$example"
done