docusaurus-theme-openapi-docs 2.0.3 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1386 +0,0 @@
1
- [
2
- {
3
- "key": "csharp",
4
- "label": "C#",
5
- "syntax_mode": "csharp",
6
- "variants": [
7
- {
8
- "key": "RestSharp",
9
- "options": [
10
- {
11
- "name": "Include boilerplate",
12
- "id": "includeBoilerplate",
13
- "type": "boolean",
14
- "default": false,
15
- "description": "Include class definition and import statements in snippet"
16
- },
17
- {
18
- "name": "Set indentation count",
19
- "id": "indentCount",
20
- "type": "positiveInteger",
21
- "default": 2,
22
- "description": "Set the number of indentation characters to add per code level"
23
- },
24
- {
25
- "name": "Set indentation type",
26
- "id": "indentType",
27
- "type": "enum",
28
- "availableOptions": ["Tab", "Space"],
29
- "default": "Space",
30
- "description": "Select the character used to indent lines of code"
31
- },
32
- {
33
- "name": "Set request timeout",
34
- "id": "requestTimeout",
35
- "type": "positiveInteger",
36
- "default": 0,
37
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
38
- },
39
- {
40
- "name": "Follow redirects",
41
- "id": "followRedirect",
42
- "type": "boolean",
43
- "default": true,
44
- "description": "Automatically follow HTTP redirects"
45
- },
46
- {
47
- "name": "Trim request body fields",
48
- "id": "trimRequestBody",
49
- "type": "boolean",
50
- "default": false,
51
- "description": "Remove white space and additional lines that may affect the server's response"
52
- }
53
- ]
54
- }
55
- ]
56
- },
57
- {
58
- "key": "curl",
59
- "label": "cURL",
60
- "syntax_mode": "powershell",
61
- "variants": [
62
- {
63
- "key": "cURL",
64
- "options": [
65
- {
66
- "name": "Generate multiline snippet",
67
- "id": "multiLine",
68
- "type": "boolean",
69
- "default": true,
70
- "description": "Split cURL command across multiple lines"
71
- },
72
- {
73
- "name": "Use long form options",
74
- "id": "longFormat",
75
- "type": "boolean",
76
- "default": true,
77
- "description": "Use the long form for cURL options (--header instead of -H)"
78
- },
79
- {
80
- "name": "Line continuation character",
81
- "id": "lineContinuationCharacter",
82
- "availableOptions": ["\\", "^", "`"],
83
- "type": "enum",
84
- "default": "\\",
85
- "description": "Set a character used to mark the continuation of a statement on the next line (generally, \\ for OSX/Linux, ^ for Windows cmd and ` for Powershell)"
86
- },
87
- {
88
- "name": "Quote Type",
89
- "id": "quoteType",
90
- "availableOptions": ["single", "double"],
91
- "type": "enum",
92
- "default": "single",
93
- "description": "String denoting the quote type to use (single or double) for URL (Use double quotes when running curl in cmd.exe and single quotes for the rest)"
94
- },
95
- {
96
- "name": "Set request timeout (in seconds)",
97
- "id": "requestTimeoutInSeconds",
98
- "type": "positiveInteger",
99
- "default": 0,
100
- "description": "Set number of seconds the request should wait for a response before timing out (use 0 for infinity)"
101
- },
102
- {
103
- "name": "Follow redirects",
104
- "id": "followRedirect",
105
- "type": "boolean",
106
- "default": true,
107
- "description": "Automatically follow HTTP redirects"
108
- },
109
- {
110
- "name": "Trim request body fields",
111
- "id": "trimRequestBody",
112
- "type": "boolean",
113
- "default": false,
114
- "description": "Remove white space and additional lines that may affect the server's response"
115
- },
116
- {
117
- "name": "Use Silent Mode",
118
- "id": "silent",
119
- "type": "boolean",
120
- "default": false,
121
- "description": "Display the requested data without showing the cURL progress meter or error messages"
122
- }
123
- ]
124
- }
125
- ]
126
- },
127
- {
128
- "key": "dart",
129
- "label": "Dart",
130
- "syntax_mode": "dart",
131
- "variants": [
132
- {
133
- "key": "http",
134
- "options": [
135
- {
136
- "name": "Set indentation count",
137
- "id": "indentCount",
138
- "type": "positiveInteger",
139
- "default": 2,
140
- "description": "Set the number of indentation characters to add per code level"
141
- },
142
- {
143
- "name": "Set indentation type",
144
- "id": "indentType",
145
- "type": "enum",
146
- "availableOptions": ["Tab", "Space"],
147
- "default": "Space",
148
- "description": "Select the character used to indent lines of code"
149
- },
150
- {
151
- "name": "Set request timeout",
152
- "id": "requestTimeout",
153
- "type": "positiveInteger",
154
- "default": 0,
155
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
156
- },
157
- {
158
- "name": "Trim request body fields",
159
- "id": "trimRequestBody",
160
- "type": "boolean",
161
- "default": false,
162
- "description": "Remove white space and additional lines that may affect the server's response"
163
- },
164
- {
165
- "name": "Include boilerplate",
166
- "id": "includeBoilerplate",
167
- "type": "boolean",
168
- "default": false,
169
- "description": "Include class definition and import statements in snippet"
170
- },
171
- {
172
- "name": "Follow redirects",
173
- "id": "followRedirect",
174
- "type": "boolean",
175
- "default": true,
176
- "description": "Automatically follow HTTP redirects"
177
- }
178
- ]
179
- }
180
- ]
181
- },
182
- {
183
- "key": "go",
184
- "label": "Go",
185
- "syntax_mode": "golang",
186
- "variants": [
187
- {
188
- "key": "Native",
189
- "options": [
190
- {
191
- "name": "Set indentation count",
192
- "id": "indentCount",
193
- "type": "positiveInteger",
194
- "default": 2,
195
- "description": "Set the number of indentation characters to add per code level"
196
- },
197
- {
198
- "name": "Set indentation type",
199
- "id": "indentType",
200
- "type": "enum",
201
- "availableOptions": ["Tab", "Space"],
202
- "default": "Space",
203
- "description": "Select the character used to indent lines of code"
204
- },
205
- {
206
- "name": "Set request timeout",
207
- "id": "requestTimeout",
208
- "type": "positiveInteger",
209
- "default": 0,
210
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
211
- },
212
- {
213
- "name": "Follow redirects",
214
- "id": "followRedirect",
215
- "type": "boolean",
216
- "default": true,
217
- "description": "Automatically follow HTTP redirects"
218
- },
219
- {
220
- "name": "Trim request body fields",
221
- "id": "trimRequestBody",
222
- "type": "boolean",
223
- "default": false,
224
- "description": "Remove white space and additional lines that may affect the server's response"
225
- }
226
- ]
227
- }
228
- ]
229
- },
230
- {
231
- "key": "http",
232
- "label": "HTTP",
233
- "syntax_mode": "text",
234
- "variants": [
235
- {
236
- "key": "HTTP",
237
- "options": [
238
- {
239
- "name": "Trim request body fields",
240
- "id": "trimRequestBody",
241
- "type": "boolean",
242
- "default": false,
243
- "description": "Remove white space and additional lines that may affect the server's response"
244
- }
245
- ]
246
- }
247
- ]
248
- },
249
- {
250
- "key": "java",
251
- "label": "Java",
252
- "syntax_mode": "java",
253
- "variants": [
254
- {
255
- "key": "OkHttp",
256
- "options": [
257
- {
258
- "name": "Include boilerplate",
259
- "id": "includeBoilerplate",
260
- "type": "boolean",
261
- "default": false,
262
- "description": "Include class definition and import statements in snippet"
263
- },
264
- {
265
- "name": "Set indentation count",
266
- "id": "indentCount",
267
- "type": "positiveInteger",
268
- "default": 2,
269
- "description": "Set the number of indentation characters to add per code level"
270
- },
271
- {
272
- "name": "Set indentation type",
273
- "id": "indentType",
274
- "type": "enum",
275
- "availableOptions": ["Tab", "Space"],
276
- "default": "Space",
277
- "description": "Select the character used to indent lines of code"
278
- },
279
- {
280
- "name": "Set request timeout",
281
- "id": "requestTimeout",
282
- "type": "positiveInteger",
283
- "default": 0,
284
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
285
- },
286
- {
287
- "name": "Follow redirects",
288
- "id": "followRedirect",
289
- "type": "boolean",
290
- "default": true,
291
- "description": "Automatically follow HTTP redirects"
292
- },
293
- {
294
- "name": "Trim request body fields",
295
- "id": "trimRequestBody",
296
- "type": "boolean",
297
- "default": false,
298
- "description": "Remove white space and additional lines that may affect the server's response"
299
- }
300
- ]
301
- },
302
- {
303
- "key": "Unirest",
304
- "options": [
305
- {
306
- "name": "Include boilerplate",
307
- "id": "includeBoilerplate",
308
- "type": "boolean",
309
- "default": false,
310
- "description": "Include class definition and import statements in snippet"
311
- },
312
- {
313
- "name": "Set indentation count",
314
- "id": "indentCount",
315
- "type": "positiveInteger",
316
- "default": 2,
317
- "description": "Set the number of indentation characters to add per code level"
318
- },
319
- {
320
- "name": "Set indentation type",
321
- "id": "indentType",
322
- "type": "enum",
323
- "availableOptions": ["Tab", "Space"],
324
- "default": "Space",
325
- "description": "Select the character used to indent lines of code"
326
- },
327
- {
328
- "name": "Set request timeout",
329
- "id": "requestTimeout",
330
- "type": "positiveInteger",
331
- "default": 0,
332
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
333
- },
334
- {
335
- "name": "Follow redirects",
336
- "id": "followRedirect",
337
- "type": "boolean",
338
- "default": true,
339
- "description": "Automatically follow HTTP redirects"
340
- },
341
- {
342
- "name": "Trim request body fields",
343
- "id": "trimRequestBody",
344
- "type": "boolean",
345
- "default": false,
346
- "description": "Remove white space and additional lines that may affect the server's response"
347
- }
348
- ]
349
- }
350
- ]
351
- },
352
- {
353
- "key": "javascript",
354
- "label": "JavaScript",
355
- "syntax_mode": "javascript",
356
- "variants": [
357
- {
358
- "key": "Fetch",
359
- "options": [
360
- {
361
- "name": "Set indentation count",
362
- "id": "indentCount",
363
- "type": "positiveInteger",
364
- "default": 2,
365
- "description": "Set the number of indentation characters to add per code level"
366
- },
367
- {
368
- "name": "Set indentation type",
369
- "id": "indentType",
370
- "type": "enum",
371
- "availableOptions": ["Tab", "Space"],
372
- "default": "Space",
373
- "description": "Select the character used to indent lines of code"
374
- },
375
- {
376
- "name": "Set request timeout",
377
- "id": "requestTimeout",
378
- "type": "positiveInteger",
379
- "default": 0,
380
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
381
- },
382
- {
383
- "name": "Follow redirects",
384
- "id": "followRedirect",
385
- "type": "boolean",
386
- "default": true,
387
- "description": "Automatically follow HTTP redirects"
388
- },
389
- {
390
- "name": "Trim request body fields",
391
- "id": "trimRequestBody",
392
- "type": "boolean",
393
- "default": false,
394
- "description": "Remove white space and additional lines that may affect the server's response"
395
- }
396
- ]
397
- },
398
- {
399
- "key": "jQuery",
400
- "options": [
401
- {
402
- "name": "Set indentation count",
403
- "id": "indentCount",
404
- "type": "positiveInteger",
405
- "default": 2,
406
- "description": "Set the number of indentation characters to add per code level"
407
- },
408
- {
409
- "name": "Set indentation type",
410
- "id": "indentType",
411
- "type": "enum",
412
- "availableOptions": ["Tab", "Space"],
413
- "default": "Space",
414
- "description": "Select the character used to indent lines of code"
415
- },
416
- {
417
- "name": "Set request timeout",
418
- "id": "requestTimeout",
419
- "type": "positiveInteger",
420
- "default": 0,
421
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
422
- },
423
- {
424
- "name": "Trim request body fields",
425
- "id": "trimRequestBody",
426
- "type": "boolean",
427
- "default": false,
428
- "description": "Remove white space and additional lines that may affect the server's response"
429
- }
430
- ]
431
- },
432
- {
433
- "key": "XHR",
434
- "options": [
435
- {
436
- "name": "Set indentation count",
437
- "id": "indentCount",
438
- "type": "positiveInteger",
439
- "default": 2,
440
- "description": "Set the number of indentation characters to add per code level"
441
- },
442
- {
443
- "name": "Set indentation type",
444
- "id": "indentType",
445
- "type": "enum",
446
- "availableOptions": ["Tab", "Space"],
447
- "default": "Space",
448
- "description": "Select the character used to indent lines of code"
449
- },
450
- {
451
- "name": "Set request timeout",
452
- "id": "requestTimeout",
453
- "type": "positiveInteger",
454
- "default": 0,
455
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
456
- },
457
- {
458
- "name": "Trim request body fields",
459
- "id": "trimRequestBody",
460
- "type": "boolean",
461
- "default": false,
462
- "description": "Remove white space and additional lines that may affect the server's response"
463
- }
464
- ]
465
- }
466
- ]
467
- },
468
- {
469
- "key": "c",
470
- "label": "C",
471
- "syntax_mode": "c_cpp",
472
- "variants": [
473
- {
474
- "key": "libcurl",
475
- "options": [
476
- {
477
- "name": "Include boilerplate",
478
- "id": "includeBoilerplate",
479
- "type": "boolean",
480
- "default": false,
481
- "description": "Include class definition and import statements in snippet"
482
- },
483
- {
484
- "name": "Protocol",
485
- "id": "protocol",
486
- "type": "enum",
487
- "availableOptions": ["http", "https"],
488
- "default": "https",
489
- "description": "The protocol to be used to make the request"
490
- },
491
- {
492
- "name": "Set indentation count",
493
- "id": "indentCount",
494
- "type": "positiveInteger",
495
- "default": 2,
496
- "description": "Set the number of indentation characters to add per code level"
497
- },
498
- {
499
- "name": "Set indentation type",
500
- "id": "indentType",
501
- "type": "enum",
502
- "availableOptions": ["Tab", "Space"],
503
- "default": "Space",
504
- "description": "Select the character used to indent lines of code"
505
- },
506
- {
507
- "name": "Follow redirects",
508
- "id": "followRedirect",
509
- "type": "boolean",
510
- "default": true,
511
- "description": "Automatically follow HTTP redirects"
512
- },
513
- {
514
- "name": "Trim request body fields",
515
- "id": "trimRequestBody",
516
- "type": "boolean",
517
- "default": false,
518
- "description": "Remove white space and additional lines that may affect the server's response"
519
- },
520
- {
521
- "name": "Use curl_mime",
522
- "id": "useMimeType",
523
- "type": "boolean",
524
- "default": true,
525
- "description": "Use curl_mime to send multipart/form-data requests"
526
- },
527
- {
528
- "name": "Set request timeout",
529
- "id": "requestTimeout",
530
- "type": "positiveInteger",
531
- "default": 0,
532
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
533
- }
534
- ]
535
- }
536
- ]
537
- },
538
- {
539
- "key": "nodejs",
540
- "label": "NodeJs",
541
- "syntax_mode": "javascript",
542
- "variants": [
543
- {
544
- "key": "Axios",
545
- "options": [
546
- {
547
- "name": "Set indentation count",
548
- "id": "indentCount",
549
- "type": "positiveInteger",
550
- "default": 2,
551
- "description": "Set the number of indentation characters to add per code level"
552
- },
553
- {
554
- "name": "Set indentation type",
555
- "id": "indentType",
556
- "type": "enum",
557
- "availableOptions": ["Tab", "Space"],
558
- "default": "Space",
559
- "description": "Select the character used to indent lines of code"
560
- },
561
- {
562
- "name": "Set request timeout",
563
- "id": "requestTimeout",
564
- "type": "positiveInteger",
565
- "default": 0,
566
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
567
- },
568
- {
569
- "name": "Follow redirects",
570
- "id": "followRedirect",
571
- "type": "boolean",
572
- "default": true,
573
- "description": "Automatically follow HTTP redirects"
574
- },
575
- {
576
- "name": "Trim request body fields",
577
- "id": "trimRequestBody",
578
- "type": "boolean",
579
- "default": false,
580
- "description": "Remove white space and additional lines that may affect the server's response"
581
- },
582
- {
583
- "name": "Enable ES6 features",
584
- "id": "ES6_enabled",
585
- "type": "boolean",
586
- "default": false,
587
- "description": "Modifies code snippet to incorporate ES6 (EcmaScript) features"
588
- }
589
- ]
590
- },
591
- {
592
- "key": "Native",
593
- "options": [
594
- {
595
- "name": "Set indentation count",
596
- "id": "indentCount",
597
- "type": "positiveInteger",
598
- "default": 2,
599
- "description": "Set the number of indentation characters to add per code level"
600
- },
601
- {
602
- "name": "Set indentation type",
603
- "id": "indentType",
604
- "type": "enum",
605
- "availableOptions": ["Tab", "Space"],
606
- "default": "Space",
607
- "description": "Select the character used to indent lines of code"
608
- },
609
- {
610
- "name": "Set request timeout",
611
- "id": "requestTimeout",
612
- "type": "positiveInteger",
613
- "default": 0,
614
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
615
- },
616
- {
617
- "name": "Follow redirects",
618
- "id": "followRedirect",
619
- "type": "boolean",
620
- "default": true,
621
- "description": "Automatically follow HTTP redirects"
622
- },
623
- {
624
- "name": "Trim request body fields",
625
- "id": "trimRequestBody",
626
- "type": "boolean",
627
- "default": false,
628
- "description": "Remove white space and additional lines that may affect the server's response"
629
- },
630
- {
631
- "name": "Enable ES6 features",
632
- "id": "ES6_enabled",
633
- "type": "boolean",
634
- "default": false,
635
- "description": "Modifies code snippet to incorporate ES6 (EcmaScript) features"
636
- }
637
- ]
638
- },
639
- {
640
- "key": "Request",
641
- "options": [
642
- {
643
- "name": "Set indentation count",
644
- "id": "indentCount",
645
- "type": "positiveInteger",
646
- "default": 2,
647
- "description": "Set the number of indentation characters to add per code level"
648
- },
649
- {
650
- "name": "Set indentation type",
651
- "id": "indentType",
652
- "type": "enum",
653
- "availableOptions": ["Tab", "Space"],
654
- "default": "Space",
655
- "description": "Select the character used to indent lines of code"
656
- },
657
- {
658
- "name": "Set request timeout",
659
- "id": "requestTimeout",
660
- "type": "positiveInteger",
661
- "default": 0,
662
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
663
- },
664
- {
665
- "name": "Follow redirects",
666
- "id": "followRedirect",
667
- "type": "boolean",
668
- "default": true,
669
- "description": "Automatically follow HTTP redirects"
670
- },
671
- {
672
- "name": "Trim request body fields",
673
- "id": "trimRequestBody",
674
- "type": "boolean",
675
- "default": false,
676
- "description": "Remove white space and additional lines that may affect the server's response"
677
- },
678
- {
679
- "name": "Enable ES6 features",
680
- "id": "ES6_enabled",
681
- "type": "boolean",
682
- "default": false,
683
- "description": "Modifies code snippet to incorporate ES6 (EcmaScript) features"
684
- }
685
- ]
686
- },
687
- {
688
- "key": "Unirest",
689
- "options": [
690
- {
691
- "name": "Set indentation count",
692
- "id": "indentCount",
693
- "type": "positiveInteger",
694
- "default": 2,
695
- "description": "Set the number of indentation characters to add per code level"
696
- },
697
- {
698
- "name": "Set indentation type",
699
- "id": "indentType",
700
- "type": "enum",
701
- "availableOptions": ["Tab", "Space"],
702
- "default": "Space",
703
- "description": "Select the character used to indent lines of code"
704
- },
705
- {
706
- "name": "Set request timeout",
707
- "id": "requestTimeout",
708
- "type": "positiveInteger",
709
- "default": 0,
710
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
711
- },
712
- {
713
- "name": "Follow redirects",
714
- "id": "followRedirect",
715
- "type": "boolean",
716
- "default": true,
717
- "description": "Automatically follow HTTP redirects"
718
- },
719
- {
720
- "name": "Trim request body fields",
721
- "id": "trimRequestBody",
722
- "type": "boolean",
723
- "default": false,
724
- "description": "Remove white space and additional lines that may affect the server's response"
725
- },
726
- {
727
- "name": "Enable ES6 features",
728
- "id": "ES6_enabled",
729
- "type": "boolean",
730
- "default": false,
731
- "description": "Modifies code snippet to incorporate ES6 (EcmaScript) features"
732
- }
733
- ]
734
- }
735
- ]
736
- },
737
- {
738
- "key": "objective-c",
739
- "label": "Objective-C",
740
- "syntax_mode": "objectivec",
741
- "variants": [
742
- {
743
- "key": "NSURLSession",
744
- "options": [
745
- {
746
- "name": "Set indentation count",
747
- "id": "indentCount",
748
- "type": "positiveInteger",
749
- "default": 2,
750
- "description": "Set the number of indentation characters to add per code level"
751
- },
752
- {
753
- "name": "Set indentation type",
754
- "id": "indentType",
755
- "type": "enum",
756
- "availableOptions": ["Tab", "Space"],
757
- "default": "Space",
758
- "description": "Select the character used to indent lines of code"
759
- },
760
- {
761
- "name": "Set request timeout",
762
- "id": "requestTimeout",
763
- "type": "positiveInteger",
764
- "default": 10000,
765
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
766
- },
767
- {
768
- "name": "Trim request body fields",
769
- "id": "trimRequestBody",
770
- "type": "boolean",
771
- "default": false,
772
- "description": "Remove white space and additional lines that may affect the server's response"
773
- },
774
- {
775
- "name": "Include boilerplate",
776
- "id": "includeBoilerplate",
777
- "type": "boolean",
778
- "default": false,
779
- "description": "Include class definition and import statements in snippet"
780
- }
781
- ]
782
- }
783
- ]
784
- },
785
- {
786
- "key": "ocaml",
787
- "label": "OCaml",
788
- "syntax_mode": "ocaml",
789
- "variants": [
790
- {
791
- "key": "Cohttp",
792
- "options": [
793
- {
794
- "name": "Set indentation count",
795
- "id": "indentCount",
796
- "type": "positiveInteger",
797
- "default": 2,
798
- "description": "Set the number of indentation characters to add per code level"
799
- },
800
- {
801
- "name": "Set indentation type",
802
- "id": "indentType",
803
- "type": "enum",
804
- "availableOptions": ["Tab", "Space"],
805
- "default": "Space",
806
- "description": "Select the character used to indent lines of code"
807
- },
808
- {
809
- "name": "Trim request body fields",
810
- "id": "trimRequestBody",
811
- "type": "boolean",
812
- "default": false,
813
- "description": "Remove white space and additional lines that may affect the server's response"
814
- },
815
- {
816
- "name": "Set request timeout",
817
- "id": "requestTimeout",
818
- "type": "positiveInteger",
819
- "default": 0,
820
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
821
- },
822
- {
823
- "name": "Follow redirects",
824
- "id": "followRedirect",
825
- "type": "boolean",
826
- "default": true,
827
- "description": "Automatically follow HTTP redirects"
828
- }
829
- ]
830
- }
831
- ]
832
- },
833
- {
834
- "key": "php",
835
- "label": "PHP",
836
- "syntax_mode": "php",
837
- "variants": [
838
- {
839
- "key": "cURL",
840
- "options": [
841
- {
842
- "name": "Set indentation count",
843
- "id": "indentCount",
844
- "type": "positiveInteger",
845
- "default": 2,
846
- "description": "Set the number of indentation characters to add per code level"
847
- },
848
- {
849
- "name": "Set indentation type",
850
- "id": "indentType",
851
- "type": "enum",
852
- "availableOptions": ["Tab", "Space"],
853
- "default": "Space",
854
- "description": "Select the character used to indent lines of code"
855
- },
856
- {
857
- "name": "Set request timeout",
858
- "id": "requestTimeout",
859
- "type": "positiveInteger",
860
- "default": 0,
861
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
862
- },
863
- {
864
- "name": "Follow redirects",
865
- "id": "followRedirect",
866
- "type": "boolean",
867
- "default": true,
868
- "description": "Automatically follow HTTP redirects"
869
- },
870
- {
871
- "name": "Trim request body fields",
872
- "id": "trimRequestBody",
873
- "type": "boolean",
874
- "default": false,
875
- "description": "Remove white space and additional lines that may affect the server's response"
876
- }
877
- ]
878
- },
879
- {
880
- "key": "Guzzle",
881
- "options": [
882
- {
883
- "name": "Set indentation count",
884
- "id": "indentCount",
885
- "type": "positiveInteger",
886
- "default": 2,
887
- "description": "Set the number of indentation characters to add per code level"
888
- },
889
- {
890
- "name": "Set indentation type",
891
- "id": "indentType",
892
- "type": "enum",
893
- "availableOptions": ["Tab", "Space"],
894
- "default": "Space",
895
- "description": "Select the character used to indent lines of code"
896
- },
897
- {
898
- "name": "Trim request body fields",
899
- "id": "trimRequestBody",
900
- "type": "boolean",
901
- "default": false,
902
- "description": "Remove white space and additional lines that may affect the server's response"
903
- },
904
- {
905
- "name": "Set request timeout",
906
- "id": "requestTimeout",
907
- "type": "positiveInteger",
908
- "default": 0,
909
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
910
- },
911
- {
912
- "name": "Follow redirects",
913
- "id": "followRedirect",
914
- "type": "boolean",
915
- "default": true,
916
- "description": "Automatically follow HTTP redirects"
917
- },
918
- {
919
- "name": "Set communication type",
920
- "id": "asyncType",
921
- "type": "enum",
922
- "availableOptions": ["async", "sync"],
923
- "default": "async",
924
- "description": "Set if the requests will be asynchronous or synchronous"
925
- },
926
- {
927
- "name": "Include boilerplate",
928
- "id": "includeBoilerplate",
929
- "type": "boolean",
930
- "default": false,
931
- "description": "Include class definition and import statements in snippet"
932
- }
933
- ]
934
- },
935
- {
936
- "key": "HTTP_Request2",
937
- "options": [
938
- {
939
- "name": "Set indentation count",
940
- "id": "indentCount",
941
- "type": "positiveInteger",
942
- "default": 2,
943
- "description": "Set the number of indentation characters to add per code level"
944
- },
945
- {
946
- "name": "Set indentation type",
947
- "id": "indentType",
948
- "type": "enum",
949
- "default": "Space",
950
- "availableOptions": ["Tab", "Space"],
951
- "description": "Select the character used to indent lines of code"
952
- },
953
- {
954
- "name": "Set request timeout",
955
- "id": "requestTimeout",
956
- "type": "positiveInteger",
957
- "default": 0,
958
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
959
- },
960
- {
961
- "name": "Trim request body fields",
962
- "id": "trimRequestBody",
963
- "type": "boolean",
964
- "default": false,
965
- "description": "Remove white space and additional lines that may affect the server's response"
966
- },
967
- {
968
- "name": "Follow redirects",
969
- "id": "followRedirect",
970
- "type": "boolean",
971
- "default": true,
972
- "description": "Automatically follow HTTP redirects"
973
- }
974
- ]
975
- },
976
- {
977
- "key": "pecl_http",
978
- "options": [
979
- {
980
- "name": "Set indentation count",
981
- "id": "indentCount",
982
- "type": "positiveInteger",
983
- "default": 2,
984
- "description": "Set the number of indentation characters to add per code level"
985
- },
986
- {
987
- "name": "Set indentation type",
988
- "id": "indentType",
989
- "type": "enum",
990
- "default": "Space",
991
- "availableOptions": ["Tab", "Space"],
992
- "description": "Select the character used to indent lines of code"
993
- },
994
- {
995
- "name": "Set request timeout",
996
- "id": "requestTimeout",
997
- "type": "positiveInteger",
998
- "default": 0,
999
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
1000
- },
1001
- {
1002
- "name": "Trim request body fields",
1003
- "id": "trimRequestBody",
1004
- "type": "boolean",
1005
- "default": false,
1006
- "description": "Remove white space and additional lines that may affect the server's response"
1007
- },
1008
- {
1009
- "name": "Follow redirects",
1010
- "id": "followRedirect",
1011
- "type": "boolean",
1012
- "default": true,
1013
- "description": "Automatically follow HTTP redirects"
1014
- }
1015
- ]
1016
- }
1017
- ]
1018
- },
1019
- {
1020
- "key": "powershell",
1021
- "label": "PowerShell",
1022
- "syntax_mode": "powershell",
1023
- "variants": [
1024
- {
1025
- "key": "RestMethod",
1026
- "options": [
1027
- {
1028
- "name": "Set request timeout",
1029
- "id": "requestTimeout",
1030
- "type": "positiveInteger",
1031
- "default": 0,
1032
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
1033
- },
1034
- {
1035
- "name": "Follow redirects",
1036
- "id": "followRedirect",
1037
- "type": "boolean",
1038
- "default": true,
1039
- "description": "Automatically follow HTTP redirects"
1040
- },
1041
- {
1042
- "name": "Trim request body fields",
1043
- "id": "trimRequestBody",
1044
- "type": "boolean",
1045
- "default": false,
1046
- "description": "Remove white space and additional lines that may affect the server's response"
1047
- }
1048
- ]
1049
- }
1050
- ]
1051
- },
1052
- {
1053
- "key": "python",
1054
- "label": "Python",
1055
- "syntax_mode": "python",
1056
- "variants": [
1057
- {
1058
- "key": "http.client",
1059
- "options": [
1060
- {
1061
- "name": "Set indentation count",
1062
- "id": "indentCount",
1063
- "type": "positiveInteger",
1064
- "default": 2,
1065
- "description": "Set the number of indentation characters to add per code level"
1066
- },
1067
- {
1068
- "name": "Set indentation type",
1069
- "id": "indentType",
1070
- "type": "enum",
1071
- "default": "Space",
1072
- "availableOptions": ["Tab", "Space"],
1073
- "description": "Select the character used to indent lines of code"
1074
- },
1075
- {
1076
- "name": "Set request timeout",
1077
- "id": "requestTimeout",
1078
- "type": "positiveInteger",
1079
- "default": 0,
1080
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
1081
- },
1082
- {
1083
- "name": "Trim request body fields",
1084
- "id": "trimRequestBody",
1085
- "type": "boolean",
1086
- "default": false,
1087
- "description": "Remove white space and additional lines that may affect the server's response"
1088
- }
1089
- ]
1090
- },
1091
- {
1092
- "key": "Requests",
1093
- "options": [
1094
- {
1095
- "name": "Set indentation count",
1096
- "id": "indentCount",
1097
- "type": "positiveInteger",
1098
- "default": 2,
1099
- "description": "Set the number of indentation characters to add per code level"
1100
- },
1101
- {
1102
- "name": "Set indentation type",
1103
- "id": "indentType",
1104
- "type": "enum",
1105
- "availableOptions": ["Tab", "Space"],
1106
- "default": "Space",
1107
- "description": "Select the character used to indent lines of code"
1108
- },
1109
- {
1110
- "name": "Set request timeout",
1111
- "id": "requestTimeout",
1112
- "type": "positiveInteger",
1113
- "default": 0,
1114
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
1115
- },
1116
- {
1117
- "name": "Follow redirects",
1118
- "id": "followRedirect",
1119
- "type": "boolean",
1120
- "default": true,
1121
- "description": "Automatically follow HTTP redirects"
1122
- },
1123
- {
1124
- "name": "Trim request body fields",
1125
- "id": "trimRequestBody",
1126
- "type": "boolean",
1127
- "default": false,
1128
- "description": "Remove white space and additional lines that may affect the server's response"
1129
- }
1130
- ]
1131
- }
1132
- ]
1133
- },
1134
- {
1135
- "key": "r",
1136
- "label": "R",
1137
- "syntax_mode": "r",
1138
- "variants": [
1139
- {
1140
- "key": "httr",
1141
- "options": [
1142
- {
1143
- "name": "Set indentation count",
1144
- "id": "indentCount",
1145
- "type": "positiveInteger",
1146
- "default": 2,
1147
- "description": "Set the number of indentation characters to add per code level"
1148
- },
1149
- {
1150
- "name": "Set indentation type",
1151
- "id": "indentType",
1152
- "type": "enum",
1153
- "availableOptions": ["Tab", "Space"],
1154
- "default": "Space",
1155
- "description": "Select the character used to indent lines of code"
1156
- },
1157
- {
1158
- "name": "Trim request body fields",
1159
- "id": "trimRequestBody",
1160
- "type": "boolean",
1161
- "default": false,
1162
- "description": "Remove white space and additional lines that may affect the server's response"
1163
- },
1164
- {
1165
- "name": "Set request timeout",
1166
- "id": "requestTimeout",
1167
- "type": "positiveInteger",
1168
- "default": 0,
1169
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
1170
- }
1171
- ]
1172
- },
1173
- {
1174
- "key": "RCurl",
1175
- "options": [
1176
- {
1177
- "name": "Set indentation count",
1178
- "id": "indentCount",
1179
- "type": "positiveInteger",
1180
- "default": 2,
1181
- "description": "Set the number of indentation characters to add per code level"
1182
- },
1183
- {
1184
- "name": "Set indentation type",
1185
- "id": "indentType",
1186
- "type": "enum",
1187
- "availableOptions": ["Tab", "Space"],
1188
- "default": "Space",
1189
- "description": "Select the character used to indent lines of code"
1190
- },
1191
- {
1192
- "name": "Trim request body fields",
1193
- "id": "trimRequestBody",
1194
- "type": "boolean",
1195
- "default": false,
1196
- "description": "Remove white space and additional lines that may affect the server's response"
1197
- },
1198
- {
1199
- "name": "Set request timeout",
1200
- "id": "requestTimeout",
1201
- "type": "positiveInteger",
1202
- "default": 0,
1203
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
1204
- },
1205
- {
1206
- "name": "Follow redirects",
1207
- "id": "followRedirect",
1208
- "type": "boolean",
1209
- "default": true,
1210
- "description": "Automatically follow HTTP redirects"
1211
- },
1212
- {
1213
- "name": "Ignore warnings",
1214
- "id": "ignoreWarnings",
1215
- "type": "boolean",
1216
- "default": false,
1217
- "description": "Ignore warnings from R"
1218
- }
1219
- ]
1220
- }
1221
- ]
1222
- },
1223
- {
1224
- "key": "ruby",
1225
- "label": "Ruby",
1226
- "syntax_mode": "ruby",
1227
- "variants": [
1228
- {
1229
- "key": "Net::HTTP",
1230
- "options": [
1231
- {
1232
- "name": "Set indentation count",
1233
- "id": "indentCount",
1234
- "type": "positiveInteger",
1235
- "default": 2,
1236
- "description": "Set the number of indentation characters to add per code level"
1237
- },
1238
- {
1239
- "name": "Set indentation type",
1240
- "id": "indentType",
1241
- "type": "enum",
1242
- "availableOptions": ["Tab", "Space"],
1243
- "default": "Space",
1244
- "description": "Select the character used to indent lines of code"
1245
- },
1246
- {
1247
- "name": "Set request timeout",
1248
- "id": "requestTimeout",
1249
- "type": "positiveInteger",
1250
- "default": 0,
1251
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
1252
- },
1253
- {
1254
- "name": "Follow redirects",
1255
- "id": "followRedirect",
1256
- "type": "boolean",
1257
- "default": true,
1258
- "description": "Automatically follow HTTP redirects"
1259
- },
1260
- {
1261
- "name": "Trim request body fields",
1262
- "id": "trimRequestBody",
1263
- "type": "boolean",
1264
- "default": false,
1265
- "description": "Remove white space and additional lines that may affect the server's response"
1266
- }
1267
- ]
1268
- }
1269
- ]
1270
- },
1271
- {
1272
- "key": "shell",
1273
- "label": "Shell",
1274
- "syntax_mode": "powershell",
1275
- "variants": [
1276
- {
1277
- "key": "Httpie",
1278
- "options": [
1279
- {
1280
- "name": "Set request timeout",
1281
- "id": "requestTimeout",
1282
- "type": "positiveInteger",
1283
- "default": 0,
1284
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
1285
- },
1286
- {
1287
- "name": "Follow redirects",
1288
- "id": "followRedirect",
1289
- "type": "boolean",
1290
- "default": true,
1291
- "description": "Automatically follow HTTP redirects"
1292
- }
1293
- ]
1294
- },
1295
- {
1296
- "key": "wget",
1297
- "options": [
1298
- {
1299
- "name": "Set indentation count",
1300
- "id": "indentCount",
1301
- "type": "positiveInteger",
1302
- "default": 2,
1303
- "description": "Set the number of indentation characters to add per code level"
1304
- },
1305
- {
1306
- "name": "Set indentation type",
1307
- "id": "indentType",
1308
- "type": "enum",
1309
- "availableOptions": ["Tab", "Space"],
1310
- "default": "Space",
1311
- "description": "Select the character used to indent lines of code"
1312
- },
1313
- {
1314
- "name": "Set request timeout",
1315
- "id": "requestTimeout",
1316
- "type": "positiveInteger",
1317
- "default": 0,
1318
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
1319
- },
1320
- {
1321
- "name": "Follow redirects",
1322
- "id": "followRedirect",
1323
- "type": "boolean",
1324
- "default": true,
1325
- "description": "Automatically follow HTTP redirects"
1326
- },
1327
- {
1328
- "name": "Trim request body fields",
1329
- "id": "trimRequestBody",
1330
- "type": "boolean",
1331
- "default": false,
1332
- "description": "Remove white space and additional lines that may affect the server's response"
1333
- }
1334
- ]
1335
- }
1336
- ]
1337
- },
1338
- {
1339
- "key": "swift",
1340
- "label": "Swift",
1341
- "syntax_mode": "swift",
1342
- "variants": [
1343
- {
1344
- "key": "URLSession",
1345
- "options": [
1346
- {
1347
- "name": "Set indentation count",
1348
- "id": "indentCount",
1349
- "type": "positiveInteger",
1350
- "default": 2,
1351
- "description": "Set the number of indentation characters to add per code level"
1352
- },
1353
- {
1354
- "name": "Set indentation type",
1355
- "id": "indentType",
1356
- "type": "enum",
1357
- "availableOptions": ["Tab", "Space"],
1358
- "default": "Space",
1359
- "description": "Select the character used to indent lines of code"
1360
- },
1361
- {
1362
- "name": "Set request timeout",
1363
- "id": "requestTimeout",
1364
- "type": "positiveInteger",
1365
- "default": 0,
1366
- "description": "Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"
1367
- },
1368
- {
1369
- "name": "Trim request body fields",
1370
- "id": "trimRequestBody",
1371
- "type": "boolean",
1372
- "default": false,
1373
- "description": "Remove white space and additional lines that may affect the server's response"
1374
- },
1375
- {
1376
- "name": "Follow redirects",
1377
- "id": "followRedirect",
1378
- "type": "boolean",
1379
- "default": true,
1380
- "description": "Automatically follow HTTP redirects"
1381
- }
1382
- ]
1383
- }
1384
- ]
1385
- }
1386
- ]