-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
1564 lines (1564 loc) · 53 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"name": "vscode-httpyac",
"displayName": "httpYac - Rest Client",
"license": "MIT",
"publisher": "anweber",
"description": "Quickly and easily send REST, Soap, GraphQL, GRPC, MQTT, RabbitMQ and WebSocket requests directly within Visual Studio Code",
"version": "6.16.4",
"homepage": "https://github.com/AnWeber/vscode-httpyac",
"repository": {
"type": "git",
"url": "https://github.com/AnWeber/vscode-httpyac"
},
"bugs": {
"url": "https://github.com/AnWeber/vscode-httpyac/issues"
},
"qna": "https://github.com/AnWeber/vscode-httpyac/discussions",
"icon": "icon.png",
"engines": {
"vscode": "^1.91.0"
},
"categories": [
"Other",
"Snippets",
"Programming Languages"
],
"keywords": [
"HTTP",
"REST",
"GraphQL",
"gRPC",
"WebSocket",
"RabbitMQ",
"AMQP",
"EventSource",
"MQTT",
"Intellij Http Client",
"Postman",
"Soap",
"rest-client",
"restclient",
"thunder client",
"rapidapi"
],
"activationEvents": [
"onLanguage:markdown",
"onLanguage:asciidoc",
"workspaceContains:**/*.http",
"workspaceContains:**/*.rest",
"workspaceContains:.httpyac.js",
"workspaceContains:.httpyac.config.js",
"workspaceContains:httpyac.config.js",
"workspaceContains:.httpyac.config.json",
"workspaceContains:httpyac.config.json"
],
"main": "./dist/extension.js",
"capabilities": {
"virtualWorkspaces": true,
"untrustedWorkspaces": {
"supported": "limited",
"description": "javascript execution is not supported in untrusted workspace"
}
},
"extensionKind": [
"workspace",
"ui"
],
"contributes": {
"languages": [
{
"id": "http",
"aliases": [
"Http",
"HTTP"
],
"extensions": [
"http",
"rest"
],
"firstLine": "^\\s*(AMQP|SSE|EVENTSOURCE|WSS|WS|WEBSOCKET|GRPC|GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|CONNECT|TRACE|PROPFIND|PROPPATCH|MKCOL|COPY|MOVE|LOCK|UNLOCK|CHECKOUT|CHECKIN|REPORT|MERGE|MKACTIVITY|MKWORKSPACE|VERSION-CONTROL|BASELINE-CONTROL|MKCALENDAR|ACL|SEARCH|GRAPHQL)\\s+[^\\s(]*\\s*?$",
"configuration": "./language-configuration.json"
}
],
"snippets": [
{
"language": "http",
"path": "./snippets/http.json"
}
],
"grammars": [
{
"path": "./syntaxes/requestbody_injection.json",
"scopeName": "http.requestbody.injection",
"injectTo": [
"source.http"
]
},
{
"path": "./syntaxes/markdown_injection.json",
"scopeName": "http.markdown.injection",
"injectTo": [
"text.html.markdown"
]
},
{
"language": "http",
"scopeName": "source.http",
"path": "./syntaxes/http.tmLanguage.json",
"embeddedLanguages": {
"meta.embedded.block.json": "json",
"meta.embedded.block.javascript": "javascript",
"meta.embedded.block.html": "html",
"meta.embedded.block.graphql": "graphql"
}
}
],
"configuration": {
"type": "object",
"title": "httpyac",
"properties": {
"httpyac.requestDefaultHeaders": {
"type": "object",
"properties": {
"A-IM": {
"description": "Acceptable instance-manipulations for the request.",
"type": "string"
},
"Accept": {
"description": "Media type(s) that is/are acceptable for the response. See Content negotiation.",
"type": "string"
},
"Accept-Charset": {
"description": "Character sets that are acceptable.",
"type": "string"
},
"Accept-Datetime": {
"description": "Acceptable version in time.",
"type": "string"
},
"Accept-Encoding": {
"description": "List of acceptable encodings. See HTTP compression.",
"type": "string"
},
"Accept-Language": {
"description": "List of acceptable human languages for response. See Content negotiation.",
"type": "string"
},
"Access-Control-Request-Method": {
"description": "Initiates a request for cross-origin resource sharing with Origin (below).",
"type": "string"
},
"Access-Control-Request-Headers": {
"description": "Initiates a request for cross-origin resource sharing with Origin (below).",
"type": "string"
},
"Authorization": {
"description": "Authentication credentials for HTTP authentication.",
"type": "string"
},
"Cache-Control": {
"description": "Used to specify directives that must be obeyed by all caching mechanisms along the request-response chain.",
"type": "string"
},
"Connection": {
"description": "Control options for the current connection and list of hop-by-hop request fields. Must not be used with HTTP/2.",
"type": "string"
},
"Content-Encoding": {
"description": "The type of encoding used on the data. See HTTP compression.",
"type": "string"
},
"Content-Length": {
"description": "The length of the request body in octets (8-bit bytes).",
"type": "string"
},
"Content-MD5": {
"description": "A Base64-encoded binary MD5 sum of the content of the request body.",
"type": "string"
},
"Content-Type": {
"description": "The Media type of the body of the request (used with POST and PUT requests).",
"type": "string"
},
"Cookie": {
"description": "An HTTP cookie previously sent by the server with Set-Cookie (below).",
"type": "string"
},
"Date": {
"description": "The date and time at which the message was originated (in HTTP-date format as defined by RFC 7231 Date/Time Formats).",
"type": "string"
},
"Expect": {
"description": "Indicates that particular server behaviors are required by the client.",
"type": "string"
},
"Forwarded": {
"description": "Disclose original information of a client connecting to a web server through an HTTP proxy.",
"type": "string"
},
"From": {
"description": "The email address of the user making the request.",
"type": "string"
},
"Host": {
"description": "The domain name of the server (for virtual hosting), and the TCP port number on which the server is listening. The port number may be omitted if the port is the standard port for the service requested. Mandatory since HTTP/1.1. If the request is generated directly in HTTP/2, it should not be used.",
"type": "string"
},
"HTTP2-Settings": {
"description": "A request that upgrades from HTTP/1.1 to HTTP/2 MUST include exactly one HTTP2-Setting header field. The HTTP2-Settings header field is a connection-specific header field that includes parameters that govern the HTTP/2 connection, provided in anticipation of the server accepting the request to upgrade.",
"type": "string"
},
"If-Match": {
"description": "Only perform the action if the client supplied entity matches the same entity on the server. This is mainly for methods like PUT to only update a resource if it has not been modified since the user last updated it.",
"type": "string"
},
"If-Modified-Since": {
"description": "Allows a 304 Not Modified to be returned if content is unchanged.",
"type": "string"
},
"If-None-Match": {
"description": "Allows a 304 Not Modified to be returned if content is unchanged, see HTTP ETag.",
"type": "string"
},
"If-Range": {
"description": "If the entity is unchanged, send me the part(s) that I am missing; otherwise, send me the entire new entity.",
"type": "string"
},
"If-Unmodified-Since": {
"description": "Only send the response if the entity has not been modified since a specific time.",
"type": "string"
},
"Max-Forwards": {
"description": "Limit the number of times the message can be forwarded through proxies or gateways.",
"type": "string"
},
"Origin": {
"description": "Initiates a request for cross-origin resource sharing (asks server for Access-Control-* response fields).",
"type": "string"
},
"Pragma": {
"description": "Implementation-specific fields that may have various effects anywhere along the request-response chain.",
"type": "string"
},
"Proxy-Authorization": {
"description": "Authorization credentials for connecting to a proxy.",
"type": "string"
},
"Range": {
"description": "Request only part of an entity. Bytes are numbered from 0. See Byte serving.",
"type": "string"
},
"Referer": {
"description": "This is the address of the previous web page from which a link to the currently requested page was followed. (The word referrer has been misspelled in the RFC as well as in most implementations to the point that it has become standard usage and is considered correct terminology)",
"type": "string"
},
"TE": {
"description": "The transfer encodings the user agent is willing to accept: the same values as for the response header field Transfer-Encoding can be used, plus the trailers value (related to the chunked transfer method) to notify the server it expects to receive additional fields in the trailer after the last, zero-sized, chunk. Only trailers is supported in HTTP/2.",
"type": "string"
},
"Trailer": {
"description": "The Trailer general field value indicates that the given set of header fields is present in the trailer of a message encoded with chunked transfer coding.",
"type": "string"
},
"Transfer-Encoding": {
"description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity. Must not be used with HTTP/2",
"type": "string"
},
"User-Agent": {
"description": "The user agent string of the user agent.",
"type": "string"
},
"Upgrade": {
"description": "Ask the server to upgrade to another protocol. Must not be used in HTTP/2.",
"type": "string"
},
"Via": {
"description": "Informs the server of proxies through which the request was sent.",
"type": "string"
},
"Warning": {
"description": "A general warning about possible problems with the entity body.",
"type": "string"
},
"Upgrade-Insecure-Requests": {
"description": "Tells a server which (presumably in the middle of a HTTP -> HTTPS migration) hosts mixed content that the client would prefer redirection to HTTPS and can handle Content-Security-Policy: upgrade-insecure-requests Must not be used with HTTP/2",
"type": "string"
},
"X-Requested-With": {
"description": "Mainly used to identify Ajax requests (most JavaScript frameworks send this field with value of XMLHttpRequest); also identifies Android apps using WebView",
"type": "string"
},
"DNT": {
"description": "Requests a web application to disable their tracking of a user. This is Mozilla`s version of the X-Do-Not-Track header field (since Firefox 4.0 Beta 11). Safari and IE9 also have support for this field. On March 7, 2011, a draft proposal was submitted to IETF. The W3C Tracking Protection Working Group is producing a specification.",
"type": "string"
},
"X-Forwarded-For": {
"description": "A de facto standard for identifying the originating IP address of a client connecting to a web server through an HTTP proxy or load balancer. Superseded by Forwarded header.",
"type": "string"
},
"X-Forwarded-Host": {
"description": "A de facto standard for identifying the original host requested by the client in the Host HTTP request header, since the host name and/or port of the reverse proxy (load balancer) may differ from the origin server handling the request. Superseded by Forwarded header.",
"type": "string"
},
"X-Forwarded-Proto": {
"description": "A de facto standard for identifying the originating protocol of an HTTP request, since a reverse proxy (or a load balancer) may communicate with a web server using HTTP even if the request to the reverse proxy is HTTPS. An alternative form of the header (X-ProxyUser-Ip) is used by Google clients talking to Google servers. Superseded by Forwarded header.",
"type": "string"
},
"Front-End-Https": {
"description": "Non-standard header field used by Microsoft applications and load-balancers",
"type": "string"
},
"X-Http-Method-Override": {
"description": "Requests a web application to override the method specified in the request (typically POST) with the method given in the header field (typically PUT or DELETE). This can be used when a user agent or firewall prevents PUT or DELETE methods from being sent directly (note that this is either a bug in the software component, which ought to be fixed, or an intentional configuration, in which case bypassing it may be the wrong thing to do).",
"type": "string"
},
"X-ATT-DeviceId": {
"description": "Allows easier parsing of the MakeModel/Firmware that is usually found in the User-Agent String of AT&T Devices",
"type": "string"
},
"X-Wap-Profile": {
"description": "Links to an XML file on the Internet with a full description and details about the device currently connecting. In the example to the right is an XML file for an AT&T Samsung Galaxy S2.",
"type": "string"
},
"Proxy-Connection": {
"description": "Implemented as a misunderstanding of the HTTP specifications. Common because of mistakes in implementations of early HTTP versions. Has exactly the same functionality as standard Connection field. Must not be used with HTTP/2.",
"type": "string"
},
"X-UIDH": {
"description": "Server-side deep packet insertion of a unique ID identifying customers of Verizon Wireless; also known as perma-cookie or supercookie",
"type": "string"
},
"X-Csrf-Token": {
"description": "Used to prevent cross-site request forgery. Alternative header names are: X-CSRFToken and X-XSRF-TOKEN",
"type": "string"
},
"X-Request-ID": {
"description": "Correlates HTTP requests between a client and server.",
"type": "string"
},
"X-Correlation-ID": {
"description": "Correlates HTTP requests between a client and server.",
"type": "string"
},
"Save-Data": {
"description": "The Save-Data client hint request header available in Chrome, Opera, and Yandex browsers lets developers deliver lighter, faster applications to users who opt-in to data saving mode in their browser.",
"type": "string"
}
},
"additionalProperties": true,
"scope": "resource",
"description": "default request headers if not overwritten"
},
"httpyac.requestBodyInjectVariablesExtensions": {
"type": "array",
"items": {
"type": "string"
},
"scope": "resource",
"description": "always inject variables in request body for these extensions"
},
"httpyac.requestGotOptions": {
"scope": "resource",
"type": "object",
"properties": {
"decompress": {
"type": "boolean"
},
"timeout": {
"type": "number"
},
"prefixUrl": {
"type": "string"
},
"followRedirect": {
"type": "boolean"
},
"maxRedirects": {
"type": "number"
},
"throwHttpErrors": {
"type": "boolean"
},
"username": {
"type": "string"
},
"password": {
"type": "string"
},
"http2": {
"type": "boolean"
},
"retry": {
"type": "boolean"
},
"rejectUnauthorized": {
"type": "boolean"
},
"ignoreInvalidCookies": {
"type": "boolean"
},
"https": {
"type": "object",
"properties": {
"cert": {
"type": "string"
},
"key": {
"type": "string"
},
"pfx": {
"type": "string"
},
"passphrase": {
"type": "string"
},
"rejectUnauthorized": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": true,
"description": "got options used as default"
},
"httpyac.cookieJarEnabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "object",
"properties": {
"allowSpecialUseDomain": {
"type": "boolean",
"description": "accepts special-use domain suffixes, such as local. Useful for testing purposes. This is not in the standard, but is used sometimes on the web and is accepted by most browsers."
},
"looseMode": {
"type": "boolean",
"description": "accept malformed cookies like bar and =bar, which have an implied empty name"
},
"rejectPublicSuffixes": {
"type": "boolean",
"description": "reject cookies with domains like 'com' and 'co.uk'"
},
"prefixSecurity": {
"type": "string",
"description": "set to 'unsafe-disabled', 'silent', or 'strict'"
}
},
"additionalProperties": false
}
],
"scope": "resource",
"description": "is cookie jar support enabled"
},
"httpyac.clientCertificates": {
"type": "object",
"scope": "resource",
"description": "Certificate paths for different hosts. The path can be absolute path or relative path to workspace",
"pattern": "^(?!http(s?)://)",
"additionalProperties": {
"anyOf": [
{
"type": "object",
"description": "Certificate paths for specific host(e.g., foo.com, bar.org:8081), port is optional",
"properties": {
"cert": {
"type": "string",
"description": "Absolute or relative path of Public x509 certificate"
},
"key": {
"type": "string",
"description": "Absolute or relative path of Private key"
},
"pfx": {
"type": "string",
"description": "Absolute or relative path of PKCS #12 certificate"
},
"passphrase": {
"type": "string",
"description": "[Optional] A string of passphrase for the private key or pfx"
}
},
"dependencies": {
"cert": [
"key"
],
"key": [
"cert"
]
}
}
]
}
},
"httpyac.proxyExcludeList": {
"type": "array",
"items": {
"type": "string"
},
"scope": "resource",
"description": "list of url which ignore proxy setting"
},
"httpyac.environmentSelectedOnStart": {
"type": "array",
"items": {
"type": "string"
},
"scope": "window",
"description": "list of default environment on startup"
},
"httpyac.environmentStoreSelectedOnStart": {
"type": "boolean",
"default": false,
"scope": "window",
"description": "store env in setting `environmentSelectedOnStart` after change"
},
"httpyac.environmentPickMany": {
"type": "boolean",
"scope": "window",
"default": true,
"description": "allow picking many environments at the same time"
},
"httpyac.environmentUseSameForAllFiles": {
"type": "boolean",
"scope": "window",
"default": false,
"description": "use same environment for all files"
},
"httpyac.environmentVariables": {
"type": "object",
"scope": "resource",
"default": {
"$shared": {}
},
"description": "environment variables (e.g {\"dev\":{\"password\": \"123456\"}, prod: {\"password\": \"secure\"}}`)"
},
"httpyac.envDirName": {
"type": "string",
"scope": "resource",
"description": "relative or absolute path to folder with env files"
},
"httpyac.useRegionScopedVariables": {
"type": "boolean",
"scope": "resource",
"description": "scope variables to region (needs @ref to import variables from other regions)"
},
"httpyac.responseViewHeader": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"timings.total",
"content-type",
"content-length"
],
"scope": "resource",
"description": "headers, testResults, timings, meta data visible in code lens of response"
},
"httpyac.responseViewPrettyPrint": {
"type": "boolean",
"default": true,
"scope": "resource",
"description": "response view pretty prints content. Pretty print is only working, if editor receives focus (vscode limitation)"
},
"httpyac.responseViewRequestBodySize": {
"type": "number",
"default": 0,
"scope": "resource",
"description": "max body size of request in response view (-1 will remove body)"
},
"httpyac.responseViewPreserveFocus": {
"type": "boolean",
"default": true,
"scope": "resource",
"description": "response view will not take focus after receiving response"
},
"httpyac.responseViewExtensionRecognition": {
"type": "string",
"enum": [
"mimetype",
"extension",
"regex"
],
"markdownEnumDescriptions": [
"prefer response mimetype",
"prefer extension"
],
"default": "extension",
"scope": "resource",
"description": "prefer mimetype or extension to determine uri extension"
},
"httpyac.responseViewPreferredFilename": {
"type": "string",
"enum": [
"metaData",
"statusCodeAndUrl",
"responseCount"
],
"markdownEnumDescriptions": [
"prefer metaData name",
"prefer statusCode and Url",
"prefer name response with unique number"
],
"default": "metaData",
"scope": "resource",
"description": "preferred filename for response view"
},
"httpyac.responseViewLanguageMap": {
"type": "object",
"scope": "resource",
"description": "mimetype to languageId map for response view"
},
"httpyac.responseViewColumn": {
"type": "string",
"enum": [
"current",
"beside"
],
"markdownEnumDescriptions": [
"Preview in the column of current request file",
"previewing at the side of the current active column and the side direction depends on `workbench.editor.openSideBySideDirection` setting, either right or below the current editor column"
],
"default": "beside",
"scope": "resource",
"description": "response preview column option"
},
"httpyac.responseViewMode": {
"type": "string",
"enum": [
"preview",
"reuse",
"open",
"none"
],
"markdownEnumDescriptions": [
"open editor in preview mode. The value is ignored when workbench.editor.previewEnabled is disabled",
"reuse editor with same language",
"always open in new editor",
"use only output console"
],
"default": "preview",
"scope": "resource",
"description": "response view mode of file"
},
"httpyac.responseViewContent": {
"type": "string",
"enum": [
"body",
"headers",
"full",
"exchange"
],
"markdownEnumDescriptions": [
"only view response body",
"view only response headers",
"view response (status line, header, body)",
"view request and response"
],
"default": "body",
"scope": "resource",
"description": "content of response view"
},
"httpyac.responseStorage": {
"type": "string",
"enum": [
"global",
"workspace",
"file",
"none"
],
"markdownEnumDescriptions": [
"use global folder",
"use folder in workspace",
"use folder next to file",
"none"
],
"default": "global",
"description": "store responses in file storage"
},
"httpyac.responseStorageLocation": {
"type": "string",
"default": ".httpyac",
"description": "path to store response files"
},
"httpyac.logResetOutputchannel": {
"type": "boolean",
"default": false,
"scope": "window",
"description": "reset output channel before runs"
},
"httpyac.logRequest": {
"type": "boolean",
"default": true,
"scope": "resource",
"description": "log request in output channel requests"
},
"httpyac.logOutputChannelOptions": {
"type": "object",
"default": {
"requestOutput": true,
"requestHeaders": true,
"requestBodyLength": 1024,
"responseHeaders": true,
"responseBodyLength": 1024
},
"properties": {
"useShort": {
"type": "boolean",
"default": false,
"description": "log only request line and status line"
},
"requestOutput": {
"type": "boolean",
"default": true,
"description": "log request"
},
"requestHeaders": {
"type": "boolean",
"default": true,
"description": "log request headers"
},
"requestBodyLength": {
"type": "number",
"default": 1024,
"description": "log request body character length"
},
"responseHeaders": {
"type": "boolean",
"default": true,
"description": "log response headers"
},
"timings": {
"type": "boolean",
"default": false,
"description": "log timings"
},
"responseBodyPrettyPrint": {
"type": "boolean",
"default": false,
"description": "use pretty print output if available"
},
"responseBodyLength": {
"type": "number",
"default": 1024,
"description": "log response body character length"
},
"onlyFailed": {
"type": "boolean",
"default": false,
"description": "log only requests with failed tests"
}
},
"scope": "resource",
"description": "options to modify output logging"
},
"httpyac.useCodeLensInNotebook": {
"type": "boolean",
"default": false,
"scope": "window",
"description": "show codelens if httpbook is used"
},
"httpyac.useMethodInSendCodeLens": {
"type": "boolean",
"default": false,
"scope": "window",
"description": "use request method in send code lens"
},
"httpyac.useDecorationProvider": {
"type": "boolean",
"default": true,
"scope": "window",
"description": "show border lines around request"
},
"httpyac.decorationActiveRegion": {
"type": "object",
"default": {
"borderColor": "theme.editor.selectionBackground",
"border": "solid",
"borderWidth": "0 0 3px 0",
"isWholeLine": true
},
"scope": "window",
"description": "decoration for active region (colors starting with theme. use vscode color)"
},
"httpyac.decorationInactiveRegion": {
"type": "object",
"default": {
"border": "dotted rgba(0, 0, 0, 20%)",
"borderWidth": "0 0 2px 0",
"isWholeLine": true
},
"scope": "window",
"description": "decoration for inactive region (colors starting with theme. use vscode color)"
},
"httpyac.addStreamingResponsesToHistory": {
"type": "boolean",
"default": true,
"scope": "window",
"description": "add streaming responses to history"
},
"httpyac.maxHistoryItems": {
"type": "number",
"default": 50,
"scope": "window",
"description": "max entries in response history"
},
"httpyac.generateCodeDefaultLanguage": {
"type": "object",
"default": {
"target": "shell",
"client": "curl"
},
"properties": {
"target": {
"type": "string",
"default": "shell"
},
"client": {
"type": "string",
"default": "curl"
}
},
"scope": "window",
"description": "Language Target and Client used for code generation"
},
"httpyac.generateCodeTargetOutput": {
"type": "string",
"default": "window",
"scope": "window",
"enum": [
"window",
"clipboard"
],
"description": "target and client used as code generation defaults"
},
"httpyac.codelens": {
"type": "object",
"default": {
"clearHistory": false,
"generateCode": false,
"generateCodeSelectLanguage": false,
"logoutUserSession": true,
"pickEnvironment": true,
"resetEnvironment": false,
"saveResponse": false,
"send": true,
"sendAll": false,
"sendRepeat": false,
"sendSelected": false,
"showResponse": false,
"showResponseHeaders": false,
"showVariables": false,
"validateVariables": false,
"testResult": true
},
"properties": {
"clearHistory": {
"default": false,
"type": "boolean"
},
"generateCode": {
"default": false,
"type": "boolean"
},
"generateCodeSelectLanguage": {
"default": false,
"type": "boolean"
},
"logoutUserSession": {
"default": false,
"type": "boolean"
},
"pickEnvironment": {
"default": false,
"type": "boolean"
},
"resetEnvironment": {
"default": false,
"type": "boolean"
},
"saveResponse": {
"default": false,
"type": "boolean"
},
"send": {
"default": false,
"type": "boolean"
},
"sendAll": {
"default": false,
"type": "boolean"
},
"sendRepeat": {
"default": false,
"type": "boolean"
},
"sendSelected": {
"default": false,
"type": "boolean"
},
"showResponse": {
"default": false,
"type": "boolean"
},
"showResponseHeaders": {
"default": false,
"type": "boolean"
},
"showVariables": {
"default": false,
"type": "boolean"
},
"validateVariables": {
"default": false,
"type": "boolean"
},
"testResult": {
"default": false,
"type": "boolean"
}
},
"additionalProperties": false,
"markdownDescription": "enable codelens commands",
"scope": "window"
},
"httpyac.environmentShowStatusBarItem": {
"type": "boolean",
"scope": "window",
"description": "show status bar item for environment select"
},
"httpyac.environmentStatusBarItemErrorEnvs": {
"type": "array",
"items": {
"type": "string"
},
"scope": "window",
"description": "use statusbarItem.errorBackgroundColor for envs"
},
"httpyac.environmentStatusBarItemWarningEnvs": {
"type": "array",
"items": {
"type": "string"
},
"scope": "window",
"description": "use statusbarItem.warningBackgroundColor for envs"
},
"httpyac.environmentStatusBarItemDefaultBackground": {
"type": "string",
"enum": [
"none",
"warning",
"error"
],
"default": "none",
"scope": "window",
"description": "default color for StatusBarItem, if changed corresponding color is used for default env detection"
},
"httpyac.progressDefaultLocation": {
"type": "string",
"enum": [
"window",
"notification"
],
"markdownEnumDescriptions": [
"Show progress in the status bar of the editor. Neither supports cancellation nor discrete progress.",
"Show progress as notification with an optional cancel button. Supports to show infinite and discrete progress."
],
"default": "notification",
"scope": "window",
"description": "The location at which progress should show."
},
"httpyac.testExplorerSupport": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"http",
"rest"
],
"scope": "window",
"description": "file extensions used in test explorer for http files"
},
"httpyac.testControllerEnabled": {
"type": "boolean",
"default": true,
"scope": "window",
"description": "enable test controller support"
},
"httpyac.testItemExtensions": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"http",
"rest"
],