Skip to content

Commit 57bd00c

Browse files
author
Guillaume
committed
New mock samples
Add mock samples from apis.guru
1 parent 25c8f91 commit 57bd00c

File tree

4,094 files changed

+4318582
-15867
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,094 files changed

+4318582
-15867
lines changed

.gitignore

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
/dist
5+
/tmp
6+
/out-tsc
7+
/packages
8+
9+
# dependencies
10+
/node_modules
11+
12+
# IDEs and editors
13+
/.idea
14+
*.iml
15+
.project
16+
.classpath
17+
.c9/
18+
*.launch
19+
.settings/
20+
*.sublime-workspace
21+
*.swp
22+
23+
# IDE - VSCode
24+
.vscode/*
25+
!.vscode/settings.json
26+
!.vscode/tasks.json
27+
!.vscode/launch.json
28+
!.vscode/extensions.json
29+
30+
# misc
31+
/.sass-cache
32+
/connect.lock
33+
/coverage
34+
/libpeerconnection.log
35+
npm-debug.log
36+
testem.log
37+
/typings
38+
39+
# e2e
40+
/e2e/*.js
41+
/e2e/*.map
42+
43+
# System Files
44+
.DS_Store
45+
Thumbs.db
46+
47+
.package-win
48+
wip.md
49+
50+
.env

.vscode/settings.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"typescript.tsdk": "node_modules\\typescript\\lib",
3+
"editor.defaultFormatter": "esbenp.prettier-vscode",
4+
"editor.codeActionsOnSave": { "source.organizeImports": true },
5+
"editor.formatOnSave": true
6+
}

apis/circleci.json

-693
This file was deleted.

apis/giphy.json

-144
This file was deleted.

apis/healthcare-gov.json

-813
This file was deleted.

apis/open-weather.json

-88
This file was deleted.

mock-apis/data/1forgecom.json

+97
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
{
2+
"uuid": "dccbd73e-57cb-4219-8da9-909e3efe8075",
3+
"lastMigration": 19,
4+
"name": "1Forge Finance APIs",
5+
"endpointPrefix": "forex-quotes",
6+
"latency": 0,
7+
"port": 3000,
8+
"hostname": "0.0.0.0",
9+
"routes": [
10+
{
11+
"uuid": "3aeb0185-275e-424a-be35-7b3f3393ae5c",
12+
"documentation": "Get quotes for all symbols",
13+
"method": "get",
14+
"endpoint": "quotes",
15+
"responses": [
16+
{
17+
"uuid": "be358be7-25ba-46b3-b185-50dcaa938b6e",
18+
"body": "",
19+
"latency": 0,
20+
"statusCode": 200,
21+
"label": "A list of quotes",
22+
"headers": [
23+
{
24+
"key": "Content-Type",
25+
"value": "application/json"
26+
}
27+
],
28+
"filePath": "",
29+
"sendFileAsBody": false,
30+
"rules": [],
31+
"rulesOperator": "OR",
32+
"disableTemplating": false,
33+
"fallbackTo404": false
34+
}
35+
],
36+
"enabled": true,
37+
"randomResponse": false,
38+
"sequentialResponse": false
39+
},
40+
{
41+
"uuid": "0c9ed61a-994a-482d-b9bc-3fa57b68f0f1",
42+
"documentation": "Get a list of symbols for which we provide real-time quotes",
43+
"method": "get",
44+
"endpoint": "symbols",
45+
"responses": [
46+
{
47+
"uuid": "63952e54-990a-4125-821c-cdf1a59ae543",
48+
"body": "[\n \"EURUSD\",\n \"GBPJPY\",\n \"AUDUSD\"\n]",
49+
"latency": 0,
50+
"statusCode": 200,
51+
"label": "A list of symbols",
52+
"headers": [
53+
{
54+
"key": "Content-Type",
55+
"value": "application/json"
56+
}
57+
],
58+
"filePath": "",
59+
"sendFileAsBody": false,
60+
"rules": [],
61+
"rulesOperator": "OR",
62+
"disableTemplating": false,
63+
"fallbackTo404": false
64+
}
65+
],
66+
"enabled": true,
67+
"randomResponse": false,
68+
"sequentialResponse": false
69+
}
70+
],
71+
"proxyMode": false,
72+
"proxyHost": "",
73+
"proxyRemovePrefix": false,
74+
"tlsOptions": {
75+
"enabled": false,
76+
"type": "CERT",
77+
"pfxPath": "",
78+
"certPath": "",
79+
"keyPath": "",
80+
"caPath": "",
81+
"passphrase": ""
82+
},
83+
"cors": true,
84+
"headers": [],
85+
"proxyReqHeaders": [
86+
{
87+
"key": "",
88+
"value": ""
89+
}
90+
],
91+
"proxyResHeaders": [
92+
{
93+
"key": "",
94+
"value": ""
95+
}
96+
]
97+
}

0 commit comments

Comments
 (0)