|
4 | 4 | "body": [
|
5 | 5 | "{",
|
6 | 6 | "\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v1.0/rc.schema.json\",",
|
7 |
| - "\t\"plugins\": [$1],", |
8 |
| - "\t\"urlsToWatch\": [$2]", |
| 7 | + "\t\"plugins\": [", |
| 8 | + "\t\t$1", |
| 9 | + "\t],", |
| 10 | + "\t\"urlsToWatch\": [", |
| 11 | + "\t\t$2", |
| 12 | + "\t]", |
9 | 13 | "}"
|
10 | 14 | ],
|
11 | 15 | "description": "Dev Proxy config file"
|
|
53 | 57 | "Request": {
|
54 | 58 | "prefix": "devproxy-request",
|
55 | 59 | "body": [
|
| 60 | + "{", |
56 | 61 | "\t\"request\": {",
|
57 | 62 | "\t\t\"url\": \"$1\"",
|
58 | 63 | "\t},",
|
59 |
| - "\t\"response\": {$2}", |
| 64 | + "\t\"response\": {", |
| 65 | + "\t\t$2", |
| 66 | + "\t}", |
60 | 67 | "}"
|
61 | 68 | ],
|
62 | 69 | "description": "Dev Proxy request"
|
63 | 70 | },
|
64 | 71 | "Response": {
|
65 | 72 | "prefix": "devproxy-response",
|
66 | 73 | "body": [
|
67 |
| - "\r", |
| 74 | + "{", |
68 | 75 | "\t\"statusCode\": ${1:400},",
|
69 |
| - "\t\"body\": {$2},", |
70 |
| - "\t\"headers\": [$3]\r" |
| 76 | + "\t\"body\": {", |
| 77 | + "\t\t$2", |
| 78 | + "\t},", |
| 79 | + "\t\"headers\": [", |
| 80 | + "\t\t$3", |
| 81 | + "\t]", |
| 82 | + "}" |
71 | 83 | ],
|
72 | 84 | "description": "Dev Proxy response"
|
73 | 85 | },
|
74 | 86 | "ResponseHeader": {
|
75 | 87 | "prefix": "devproxy-response-header",
|
76 | 88 | "body": [
|
77 |
| - "\r", |
78 | 89 | "{",
|
79 | 90 | "\t\"name\": \"$1\",",
|
80 | 91 | "\t\"value\": \"$2\"",
|
81 |
| - "}\r" |
| 92 | + "}" |
82 | 93 | ],
|
83 | 94 | "description": "Dev Proxy response header"
|
84 | 95 | },
|
|
129 | 140 | "body": [
|
130 | 141 | "{",
|
131 | 142 | "\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v1.0/crudapiplugin.schema.json\",",
|
132 |
| - "\t\"actions\": [$1],", |
| 143 | + "\t\"actions\": [", |
| 144 | + "\t\t$1", |
| 145 | + "\t],", |
133 | 146 | "\t\"baseUrl\": \"$2\",",
|
134 | 147 | "\t\"dataFile\": \"$3\"",
|
135 | 148 | "}"
|
|
146 | 159 | "CrudApiPluginAction": {
|
147 | 160 | "prefix": "devproxy-plugin-crud-api-action",
|
148 | 161 | "body": [
|
149 |
| - "\r", |
150 |
| - "\t{", |
151 |
| - "\t\t\"action\": \"$1\",", |
152 |
| - "\t\t\"method\": \"$2\",", |
153 |
| - "\t\t\"query\": \"$3\",", |
154 |
| - "\t\t\"url\": \"$4\"", |
155 |
| - "\t}\r" |
| 162 | + "{", |
| 163 | + "\t\"action\": \"$1\",", |
| 164 | + "\t\"method\": \"$2\",", |
| 165 | + "\t\"query\": \"$3\",", |
| 166 | + "\t\"url\": \"$4\"", |
| 167 | + "}" |
156 | 168 | ],
|
157 | 169 | "description": "CrudApiPlugin action"
|
158 | 170 | },
|
|
224 | 236 | "body": [
|
225 | 237 | "{",
|
226 | 238 | "\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v1.0/genericrandomerrorplugin.schema.json\",",
|
227 |
| - "\t\"responses\": [$1]", |
| 239 | + "\t\"responses\": [", |
| 240 | + "\t\t$1", |
| 241 | + "\t]", |
228 | 242 | "}"
|
229 | 243 | ],
|
230 | 244 | "description": "GenericRandomErrorPlugin errors file"
|
|
543 | 557 | "body": [
|
544 | 558 | "{",
|
545 | 559 | "\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v1.0/ratelimitingplugin.schema.json\",",
|
546 |
| - "\t\"body\": {$1},", |
547 |
| - "\t\"headers\": [$2],", |
548 |
| - "\t\"statusCode\": 429$3", |
| 560 | + "\t\"body\": {", |
| 561 | + "\t\t$1", |
| 562 | + "\t},", |
| 563 | + "\t\"headers\": [", |
| 564 | + "\t\t$2", |
| 565 | + "\t],", |
| 566 | + "\t\"statusCode\": ${3:429}", |
549 | 567 | "}"
|
550 | 568 | ],
|
551 | 569 | "description": "Dev Proxy rate limiting file"
|
|
0 commit comments