docusaurus-theme-openapi-docs 0.0.0-619 → 0.0.0-684

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.
Files changed (390) hide show
  1. package/lib/index.d.ts +2 -0
  2. package/lib/index.js +53 -27
  3. package/lib/markdown/createDescription.d.ts +1 -0
  4. package/lib/markdown/createDescription.js +8 -11
  5. package/lib/markdown/schema.d.ts +3 -0
  6. package/lib/markdown/schema.js +138 -139
  7. package/lib/markdown/utils.d.ts +8 -0
  8. package/lib/markdown/utils.js +36 -42
  9. package/lib/theme/ApiDemoPanel/ApiCodeBlock/ExpandButton/index.js +165 -0
  10. package/lib/theme/ApiDemoPanel/ApiCodeBlock/Line/_Line.scss +46 -0
  11. package/lib/theme/ApiExplorer/Accept/index.d.ts +3 -0
  12. package/lib/theme/ApiExplorer/Accept/index.js +38 -0
  13. package/lib/theme/ApiExplorer/Accept/slice.d.ts +11 -0
  14. package/{lib-next/theme/ApiDemoPanel → lib/theme/ApiExplorer}/Accept/slice.js +7 -5
  15. package/lib/theme/ApiExplorer/ApiCodeBlock/Container/_Container.scss +7 -0
  16. package/lib/theme/ApiExplorer/ApiCodeBlock/Container/index.js +29 -0
  17. package/lib/theme/ApiExplorer/ApiCodeBlock/Content/Element.js +30 -0
  18. package/lib/theme/ApiExplorer/ApiCodeBlock/Content/String.js +134 -0
  19. package/lib/theme/ApiExplorer/ApiCodeBlock/Content/_Content.scss +91 -0
  20. package/lib/theme/ApiExplorer/ApiCodeBlock/CopyButton/_CopyButton.scss +44 -0
  21. package/lib/theme/ApiExplorer/ApiCodeBlock/CopyButton/index.js +74 -0
  22. package/lib/theme/ApiExplorer/ApiCodeBlock/ExitButton/_ExitButton.scss +16 -0
  23. package/lib/theme/ApiExplorer/ApiCodeBlock/ExitButton/index.js +47 -0
  24. package/lib/theme/ApiExplorer/ApiCodeBlock/ExpandButton/_ExpandButton.scss +62 -0
  25. package/lib/theme/ApiExplorer/ApiCodeBlock/ExpandButton/index.js +156 -0
  26. package/lib/theme/ApiExplorer/ApiCodeBlock/Line/_Line.scss +46 -0
  27. package/lib/theme/ApiExplorer/ApiCodeBlock/Line/index.js +47 -0
  28. package/lib/theme/ApiExplorer/ApiCodeBlock/WordWrapButton/_WordWrapButton.scss +10 -0
  29. package/lib/theme/ApiExplorer/ApiCodeBlock/WordWrapButton/index.js +44 -0
  30. package/lib/theme/ApiExplorer/ApiCodeBlock/index.js +40 -0
  31. package/lib/theme/ApiExplorer/Authorization/auth-types.d.ts +3 -0
  32. package/lib/theme/{ApiDemoPanel → ApiExplorer}/Authorization/auth-types.js +4 -10
  33. package/lib/theme/ApiExplorer/Authorization/index.d.ts +3 -0
  34. package/lib/theme/ApiExplorer/Authorization/index.js +157 -0
  35. package/lib/theme/ApiExplorer/Authorization/slice.d.ts +40 -0
  36. package/{lib-next/theme/ApiDemoPanel → lib/theme/ApiExplorer}/Authorization/slice.js +23 -16
  37. package/lib/theme/ApiExplorer/Body/index.d.ts +10 -0
  38. package/lib/theme/ApiExplorer/Body/index.js +363 -0
  39. package/lib/theme/ApiExplorer/Body/slice.d.ts +82 -0
  40. package/{lib-next/theme/ApiDemoPanel → lib/theme/ApiExplorer}/Body/slice.js +21 -12
  41. package/lib/theme/ApiExplorer/CodeSnippets/index.d.ts +20 -0
  42. package/lib/theme/ApiExplorer/CodeSnippets/index.js +406 -0
  43. package/lib/theme/ApiExplorer/CodeTabs/_CodeTabs.scss +291 -0
  44. package/lib/theme/ApiExplorer/CodeTabs/index.js +174 -0
  45. package/lib/theme/ApiExplorer/ContentType/index.d.ts +3 -0
  46. package/lib/theme/ApiExplorer/ContentType/index.js +40 -0
  47. package/lib/theme/ApiExplorer/ContentType/slice.d.ts +11 -0
  48. package/{lib-next/theme/ApiDemoPanel → lib/theme/ApiExplorer}/ContentType/slice.js +7 -5
  49. package/lib/theme/ApiExplorer/Export/index.d.ts +3 -0
  50. package/lib/theme/ApiExplorer/Export/index.js +57 -0
  51. package/lib/theme/ApiExplorer/FloatingButton/_FloatingButton.scss +25 -0
  52. package/lib/theme/ApiExplorer/FloatingButton/index.d.ts +8 -0
  53. package/lib/theme/ApiExplorer/FloatingButton/index.js +28 -0
  54. package/{lib-next/theme/ApiDemoPanel/FormFileUpload/styles.module.css → lib/theme/ApiExplorer/FormFileUpload/_FormFileUpload.scss} +32 -35
  55. package/lib/theme/ApiExplorer/FormFileUpload/index.d.ts +7 -0
  56. package/lib/theme/ApiExplorer/FormFileUpload/index.js +161 -0
  57. package/lib/theme/ApiExplorer/FormItem/_FormItem.scss +21 -0
  58. package/lib/theme/ApiExplorer/FormItem/index.d.ts +10 -0
  59. package/lib/theme/ApiExplorer/FormItem/index.js +44 -0
  60. package/lib/theme/ApiExplorer/FormMultiSelect/_FormMultiSelect.scss +30 -0
  61. package/lib/theme/ApiExplorer/FormMultiSelect/index.d.ts +9 -0
  62. package/lib/theme/ApiExplorer/FormMultiSelect/index.js +51 -0
  63. package/{src/theme/ApiDemoPanel/FormSelect/styles.module.css → lib/theme/ApiExplorer/FormSelect/_FormSelect.scss} +15 -23
  64. package/lib/theme/ApiExplorer/FormSelect/index.d.ts +8 -0
  65. package/lib/theme/ApiExplorer/FormSelect/index.js +35 -0
  66. package/lib/theme/ApiExplorer/FormTextInput/_FormTextInput.scss +34 -0
  67. package/lib/theme/ApiExplorer/FormTextInput/index.d.ts +9 -0
  68. package/lib/theme/ApiExplorer/FormTextInput/index.js +73 -0
  69. package/lib/theme/ApiExplorer/LiveEditor/_LiveEditor.scss +15 -0
  70. package/lib/theme/ApiExplorer/LiveEditor/index.d.ts +6 -0
  71. package/lib/theme/ApiExplorer/LiveEditor/index.js +154 -0
  72. package/lib/theme/ApiExplorer/MethodEndpoint/_MethodEndpoint.scss +22 -0
  73. package/lib/theme/ApiExplorer/MethodEndpoint/index.d.ts +7 -0
  74. package/lib/theme/ApiExplorer/MethodEndpoint/index.js +83 -0
  75. package/lib/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamArrayFormItem.d.ts +6 -0
  76. package/lib/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamArrayFormItem.js +194 -0
  77. package/lib/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamBooleanFormItem.d.ts +6 -0
  78. package/lib/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamBooleanFormItem.js +63 -0
  79. package/lib/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamMultiSelectFormItem.d.ts +6 -0
  80. package/lib/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamMultiSelectFormItem.js +89 -0
  81. package/lib/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamSelectFormItem.d.ts +6 -0
  82. package/lib/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamSelectFormItem.js +63 -0
  83. package/lib/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamTextFormItem.d.ts +6 -0
  84. package/lib/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamTextFormItem.js +38 -0
  85. package/{src/theme/ApiDemoPanel/ParamOptions/styles.module.css → lib/theme/ApiExplorer/ParamOptions/_ParamOptions.scss} +38 -92
  86. package/lib/theme/ApiExplorer/ParamOptions/index.d.ts +7 -0
  87. package/lib/theme/ApiExplorer/ParamOptions/index.js +210 -0
  88. package/lib/theme/ApiExplorer/ParamOptions/slice.d.ts +17 -0
  89. package/{lib-next/theme/ApiDemoPanel → lib/theme/ApiExplorer}/ParamOptions/slice.js +7 -5
  90. package/lib/theme/ApiExplorer/Request/_Request.scss +122 -0
  91. package/lib/theme/ApiExplorer/Request/index.d.ts +6 -0
  92. package/lib/theme/ApiExplorer/Request/index.js +365 -0
  93. package/lib/theme/ApiExplorer/Request/makeRequest.d.ts +4 -0
  94. package/{lib-next/theme/ApiDemoPanel/Execute → lib/theme/ApiExplorer/Request}/makeRequest.js +10 -9
  95. package/lib/theme/ApiExplorer/Response/_Response.scss +119 -0
  96. package/lib/theme/ApiExplorer/Response/index.d.ts +6 -0
  97. package/lib/theme/ApiExplorer/Response/index.js +190 -0
  98. package/lib/theme/ApiExplorer/Response/slice.d.ts +17 -0
  99. package/lib/theme/ApiExplorer/Response/slice.js +51 -0
  100. package/lib/theme/ApiExplorer/SecuritySchemes/index.d.ts +3 -0
  101. package/lib/theme/ApiExplorer/SecuritySchemes/index.js +380 -0
  102. package/{src/theme/ApiDemoPanel/Request/styles.module.css → lib/theme/ApiExplorer/Server/_Server.scss} +15 -7
  103. package/lib/theme/ApiExplorer/Server/index.d.ts +3 -0
  104. package/lib/theme/ApiExplorer/Server/index.js +187 -0
  105. package/lib/theme/ApiExplorer/Server/slice.d.ts +13 -0
  106. package/{lib-next/theme/ApiDemoPanel → lib/theme/ApiExplorer}/Server/slice.js +10 -5
  107. package/lib/theme/ApiExplorer/buildPostmanRequest.d.ts +20 -0
  108. package/{lib-next/theme/ApiDemoPanel → lib/theme/ApiExplorer}/buildPostmanRequest.js +27 -40
  109. package/lib/theme/ApiExplorer/index.d.ts +7 -0
  110. package/lib/theme/ApiExplorer/index.js +37 -0
  111. package/lib/theme/ApiExplorer/persistanceMiddleware.d.ts +3 -0
  112. package/{lib-next/theme/ApiDemoPanel → lib/theme/ApiExplorer}/persistanceMiddleware.js +11 -14
  113. package/lib/theme/ApiExplorer/storage-utils.d.ts +4 -0
  114. package/lib/theme/{ApiDemoPanel → ApiExplorer}/storage-utils.js +14 -13
  115. package/lib/theme/ApiItem/Layout/index.d.ts +4 -0
  116. package/lib/theme/ApiItem/Layout/index.js +78 -56
  117. package/lib/theme/ApiItem/hooks.d.ts +12 -0
  118. package/lib/theme/ApiItem/hooks.js +5 -10
  119. package/lib/theme/ApiItem/index.d.ts +4 -0
  120. package/lib/theme/ApiItem/index.js +141 -118
  121. package/lib/theme/ApiItem/store.d.ts +46 -0
  122. package/lib/theme/ApiItem/store.js +44 -34
  123. package/lib/theme/ApiLogo/index.d.ts +2 -0
  124. package/lib/theme/ApiLogo/index.js +34 -32
  125. package/lib/theme/ApiTabs/_ApiTabs.scss +140 -0
  126. package/lib/theme/ApiTabs/index.js +105 -190
  127. package/lib/theme/DiscriminatorTabs/_DiscriminatorTabs.scss +97 -0
  128. package/lib/theme/DiscriminatorTabs/index.js +102 -189
  129. package/lib/theme/Markdown/Details/_Details.scss +119 -0
  130. package/lib/theme/MimeTabs/_MimeTabs.scss +69 -0
  131. package/lib/theme/MimeTabs/index.js +125 -199
  132. package/lib/theme/ParamsItem/_ParamsItem.scss +54 -0
  133. package/lib/theme/ParamsItem/index.js +9 -8
  134. package/lib/theme/ResponseSamples/_ResponseSamples.scss +3 -0
  135. package/lib/theme/ResponseSamples/index.js +2 -7
  136. package/lib/theme/SchemaItem/_SchemaItem.scss +89 -0
  137. package/lib/theme/SchemaItem/index.js +31 -22
  138. package/lib/theme/SchemaTabs/_SchemaTabs.scss +64 -0
  139. package/lib/theme/SchemaTabs/index.js +97 -185
  140. package/lib/theme/styles.scss +160 -0
  141. package/lib/types.d.ts +157 -0
  142. package/lib/types.js +8 -1
  143. package/package.json +17 -23
  144. package/src/index.ts +33 -3
  145. package/src/theme/ApiDemoPanel/ApiCodeBlock/ExpandButton/index.js +165 -0
  146. package/src/theme/ApiDemoPanel/ApiCodeBlock/Line/_Line.scss +46 -0
  147. package/src/theme/{ApiDemoPanel → ApiExplorer}/Accept/index.tsx +2 -2
  148. package/src/theme/ApiExplorer/ApiCodeBlock/Container/_Container.scss +7 -0
  149. package/src/theme/ApiExplorer/ApiCodeBlock/Container/index.js +29 -0
  150. package/src/theme/ApiExplorer/ApiCodeBlock/Content/Element.js +30 -0
  151. package/src/theme/ApiExplorer/ApiCodeBlock/Content/String.js +134 -0
  152. package/src/theme/ApiExplorer/ApiCodeBlock/Content/_Content.scss +91 -0
  153. package/src/theme/ApiExplorer/ApiCodeBlock/CopyButton/_CopyButton.scss +44 -0
  154. package/src/theme/ApiExplorer/ApiCodeBlock/CopyButton/index.js +74 -0
  155. package/src/theme/ApiExplorer/ApiCodeBlock/ExitButton/_ExitButton.scss +16 -0
  156. package/src/theme/ApiExplorer/ApiCodeBlock/ExitButton/index.js +47 -0
  157. package/src/theme/ApiExplorer/ApiCodeBlock/ExpandButton/_ExpandButton.scss +62 -0
  158. package/src/theme/ApiExplorer/ApiCodeBlock/ExpandButton/index.js +156 -0
  159. package/src/theme/ApiExplorer/ApiCodeBlock/Line/_Line.scss +46 -0
  160. package/src/theme/ApiExplorer/ApiCodeBlock/Line/index.js +47 -0
  161. package/src/theme/ApiExplorer/ApiCodeBlock/WordWrapButton/_WordWrapButton.scss +10 -0
  162. package/src/theme/ApiExplorer/ApiCodeBlock/WordWrapButton/index.js +44 -0
  163. package/src/theme/ApiExplorer/ApiCodeBlock/index.js +40 -0
  164. package/src/theme/{ApiDemoPanel → ApiExplorer}/Authorization/index.tsx +3 -3
  165. package/src/theme/{ApiDemoPanel → ApiExplorer}/Authorization/slice.ts +1 -1
  166. package/src/theme/{ApiDemoPanel → ApiExplorer}/Body/index.tsx +64 -41
  167. package/src/theme/{ApiDemoPanel/Curl → ApiExplorer/CodeSnippets}/index.tsx +94 -34
  168. package/src/theme/ApiExplorer/CodeTabs/_CodeTabs.scss +291 -0
  169. package/src/theme/ApiExplorer/CodeTabs/index.js +174 -0
  170. package/src/theme/{ApiDemoPanel → ApiExplorer}/ContentType/index.tsx +2 -2
  171. package/src/theme/ApiExplorer/FloatingButton/_FloatingButton.scss +25 -0
  172. package/src/theme/{ApiDemoPanel → ApiExplorer}/FloatingButton/index.tsx +1 -3
  173. package/src/theme/{ApiDemoPanel/FormFileUpload/styles.module.css → ApiExplorer/FormFileUpload/_FormFileUpload.scss} +32 -35
  174. package/src/theme/{ApiDemoPanel → ApiExplorer}/FormFileUpload/index.tsx +10 -6
  175. package/src/theme/ApiExplorer/FormItem/_FormItem.scss +21 -0
  176. package/src/theme/{ApiDemoPanel → ApiExplorer}/FormItem/index.tsx +8 -12
  177. package/src/theme/ApiExplorer/FormMultiSelect/_FormMultiSelect.scss +30 -0
  178. package/src/theme/{ApiDemoPanel → ApiExplorer}/FormMultiSelect/index.tsx +6 -3
  179. package/{lib/theme/ApiDemoPanel/FormSelect/styles.module.css → src/theme/ApiExplorer/FormSelect/_FormSelect.scss} +15 -23
  180. package/src/theme/{ApiDemoPanel → ApiExplorer}/FormSelect/index.tsx +5 -3
  181. package/src/theme/ApiExplorer/FormTextInput/_FormTextInput.scss +34 -0
  182. package/src/theme/ApiExplorer/FormTextInput/index.tsx +80 -0
  183. package/src/theme/ApiExplorer/LiveEditor/_LiveEditor.scss +15 -0
  184. package/src/theme/ApiExplorer/LiveEditor/index.tsx +112 -0
  185. package/src/theme/ApiExplorer/MethodEndpoint/_MethodEndpoint.scss +22 -0
  186. package/src/theme/ApiExplorer/MethodEndpoint/index.tsx +87 -0
  187. package/src/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamArrayFormItem.tsx +156 -0
  188. package/src/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamBooleanFormItem.tsx +64 -0
  189. package/src/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamMultiSelectFormItem.tsx +86 -0
  190. package/src/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamSelectFormItem.tsx +65 -0
  191. package/src/theme/ApiExplorer/ParamOptions/ParamFormItems/ParamTextFormItem.tsx +38 -0
  192. package/{lib-next/theme/ApiDemoPanel/ParamOptions/styles.module.css → src/theme/ApiExplorer/ParamOptions/_ParamOptions.scss} +38 -92
  193. package/src/theme/ApiExplorer/ParamOptions/index.tsx +145 -0
  194. package/src/theme/ApiExplorer/Request/_Request.scss +122 -0
  195. package/src/theme/ApiExplorer/Request/index.tsx +286 -0
  196. package/src/theme/{ApiDemoPanel/Execute → ApiExplorer/Request}/makeRequest.ts +9 -6
  197. package/src/theme/ApiExplorer/Response/_Response.scss +119 -0
  198. package/src/theme/ApiExplorer/Response/index.tsx +154 -0
  199. package/src/theme/{ApiDemoPanel → ApiExplorer}/Response/slice.ts +22 -1
  200. package/src/theme/{ApiDemoPanel → ApiExplorer}/SecuritySchemes/index.tsx +5 -3
  201. package/{lib/theme/ApiDemoPanel/Request/styles.module.css → src/theme/ApiExplorer/Server/_Server.scss} +15 -7
  202. package/src/theme/{ApiDemoPanel → ApiExplorer}/Server/index.tsx +13 -17
  203. package/src/theme/{ApiDemoPanel → ApiExplorer}/buildPostmanRequest.ts +2 -2
  204. package/src/theme/{ApiDemoPanel → ApiExplorer}/index.tsx +14 -17
  205. package/src/theme/{ApiDemoPanel → ApiExplorer}/persistanceMiddleware.ts +1 -1
  206. package/src/theme/ApiItem/index.tsx +7 -7
  207. package/src/theme/ApiItem/store.ts +7 -7
  208. package/src/theme/ApiTabs/_ApiTabs.scss +140 -0
  209. package/src/theme/ApiTabs/index.js +105 -190
  210. package/src/theme/DiscriminatorTabs/_DiscriminatorTabs.scss +97 -0
  211. package/src/theme/DiscriminatorTabs/index.js +102 -189
  212. package/src/theme/Markdown/Details/_Details.scss +119 -0
  213. package/src/theme/MimeTabs/_MimeTabs.scss +69 -0
  214. package/src/theme/MimeTabs/index.js +125 -199
  215. package/src/theme/ParamsItem/_ParamsItem.scss +54 -0
  216. package/src/theme/ParamsItem/index.js +9 -8
  217. package/src/theme/ResponseSamples/_ResponseSamples.scss +3 -0
  218. package/src/theme/ResponseSamples/index.js +2 -7
  219. package/src/theme/SchemaItem/_SchemaItem.scss +89 -0
  220. package/src/theme/SchemaItem/index.js +31 -22
  221. package/src/theme/SchemaTabs/_SchemaTabs.scss +64 -0
  222. package/src/theme/SchemaTabs/index.js +97 -185
  223. package/src/theme/styles.scss +160 -0
  224. package/src/theme-openapi.d.ts +90 -47
  225. package/tsconfig.json +6 -3
  226. package/lib/postman-code-generators.d.ts +0 -9
  227. package/lib/react-magic-dropzone.d.ts +0 -9
  228. package/lib/theme/ApiDemoPanel/Accept/index.js +0 -32
  229. package/lib/theme/ApiDemoPanel/Accept/slice.js +0 -31
  230. package/lib/theme/ApiDemoPanel/Authorization/index.js +0 -107
  231. package/lib/theme/ApiDemoPanel/Authorization/slice.js +0 -123
  232. package/lib/theme/ApiDemoPanel/Body/index.js +0 -256
  233. package/lib/theme/ApiDemoPanel/Body/slice.js +0 -102
  234. package/lib/theme/ApiDemoPanel/CodeTabs/index.js +0 -161
  235. package/lib/theme/ApiDemoPanel/CodeTabs/styles.module.css +0 -17
  236. package/lib/theme/ApiDemoPanel/ContentType/index.js +0 -32
  237. package/lib/theme/ApiDemoPanel/ContentType/slice.js +0 -31
  238. package/lib/theme/ApiDemoPanel/Curl/index.js +0 -240
  239. package/lib/theme/ApiDemoPanel/Curl/styles.module.css +0 -84
  240. package/lib/theme/ApiDemoPanel/Execute/index.js +0 -151
  241. package/lib/theme/ApiDemoPanel/Execute/makeRequest.js +0 -181
  242. package/lib/theme/ApiDemoPanel/Export/index.js +0 -47
  243. package/lib/theme/ApiDemoPanel/FloatingButton/index.js +0 -30
  244. package/lib/theme/ApiDemoPanel/FloatingButton/styles.module.css +0 -26
  245. package/lib/theme/ApiDemoPanel/FormFileUpload/index.js +0 -83
  246. package/lib/theme/ApiDemoPanel/FormFileUpload/styles.module.css +0 -75
  247. package/lib/theme/ApiDemoPanel/FormItem/index.js +0 -38
  248. package/lib/theme/ApiDemoPanel/FormItem/styles.module.css +0 -12
  249. package/lib/theme/ApiDemoPanel/FormMultiSelect/index.js +0 -45
  250. package/lib/theme/ApiDemoPanel/FormMultiSelect/styles.module.css +0 -38
  251. package/lib/theme/ApiDemoPanel/FormSelect/index.js +0 -34
  252. package/lib/theme/ApiDemoPanel/FormTextInput/index.js +0 -28
  253. package/lib/theme/ApiDemoPanel/FormTextInput/styles.module.css +0 -21
  254. package/lib/theme/ApiDemoPanel/LiveEditor/index.js +0 -62
  255. package/lib/theme/ApiDemoPanel/LiveEditor/styles.module.css +0 -35
  256. package/lib/theme/ApiDemoPanel/MethodEndpoint/index.js +0 -56
  257. package/lib/theme/ApiDemoPanel/ParamOptions/index.js +0 -216
  258. package/lib/theme/ApiDemoPanel/ParamOptions/slice.js +0 -34
  259. package/lib/theme/ApiDemoPanel/ParamOptions/styles.module.css +0 -176
  260. package/lib/theme/ApiDemoPanel/Request/index.js +0 -67
  261. package/lib/theme/ApiDemoPanel/Response/index.js +0 -66
  262. package/lib/theme/ApiDemoPanel/Response/slice.js +0 -36
  263. package/lib/theme/ApiDemoPanel/SecuritySchemes/index.js +0 -257
  264. package/lib/theme/ApiDemoPanel/Server/index.js +0 -104
  265. package/lib/theme/ApiDemoPanel/Server/slice.js +0 -40
  266. package/lib/theme/ApiDemoPanel/Server/styles.module.css +0 -56
  267. package/lib/theme/ApiDemoPanel/buildPostmanRequest.js +0 -303
  268. package/lib/theme/ApiDemoPanel/index.js +0 -41
  269. package/lib/theme/ApiDemoPanel/persistanceMiddleware.js +0 -59
  270. package/lib/theme/ApiDemoPanel/postman-collection.d.ts +0 -10
  271. package/lib/theme/ApiDemoPanel/react-modal.d.ts +0 -8
  272. package/lib/theme/ApiTabs/styles.module.css +0 -120
  273. package/lib/theme/DiscriminatorTabs/styles.module.css +0 -119
  274. package/lib/theme/MimeTabs/styles.module.css +0 -126
  275. package/lib/theme/ParamsItem/styles.module.css +0 -24
  276. package/lib/theme/ResponseSamples/styles.module.css +0 -7
  277. package/lib/theme/SchemaItem/styles.module.css +0 -38
  278. package/lib/theme/SchemaTabs/styles.module.css +0 -110
  279. package/lib/theme/styles.css +0 -520
  280. package/lib/theme-classic.d.ts +0 -13
  281. package/lib/theme-openapi.d.ts +0 -234
  282. package/lib/theme-translations.d.ts +0 -9
  283. package/lib-next/index.js +0 -29
  284. package/lib-next/markdown/createDescription.js +0 -13
  285. package/lib-next/markdown/schema.js +0 -153
  286. package/lib-next/markdown/utils.js +0 -44
  287. package/lib-next/postman-code-generators.d.ts +0 -9
  288. package/lib-next/react-magic-dropzone.d.ts +0 -9
  289. package/lib-next/theme/ApiDemoPanel/Accept/index.js +0 -30
  290. package/lib-next/theme/ApiDemoPanel/Authorization/auth-types.js +0 -29
  291. package/lib-next/theme/ApiDemoPanel/Authorization/index.js +0 -142
  292. package/lib-next/theme/ApiDemoPanel/Body/index.js +0 -324
  293. package/lib-next/theme/ApiDemoPanel/CodeTabs/index.js +0 -201
  294. package/lib-next/theme/ApiDemoPanel/CodeTabs/styles.module.css +0 -17
  295. package/lib-next/theme/ApiDemoPanel/ContentType/index.js +0 -30
  296. package/lib-next/theme/ApiDemoPanel/Curl/index.js +0 -283
  297. package/lib-next/theme/ApiDemoPanel/Curl/styles.module.css +0 -84
  298. package/lib-next/theme/ApiDemoPanel/Execute/index.js +0 -167
  299. package/lib-next/theme/ApiDemoPanel/Export/index.js +0 -45
  300. package/lib-next/theme/ApiDemoPanel/FloatingButton/index.js +0 -22
  301. package/lib-next/theme/ApiDemoPanel/FloatingButton/styles.module.css +0 -26
  302. package/lib-next/theme/ApiDemoPanel/FormFileUpload/index.js +0 -106
  303. package/lib-next/theme/ApiDemoPanel/FormItem/index.js +0 -36
  304. package/lib-next/theme/ApiDemoPanel/FormItem/styles.module.css +0 -12
  305. package/lib-next/theme/ApiDemoPanel/FormMultiSelect/index.js +0 -45
  306. package/lib-next/theme/ApiDemoPanel/FormMultiSelect/styles.module.css +0 -38
  307. package/lib-next/theme/ApiDemoPanel/FormSelect/index.js +0 -26
  308. package/lib-next/theme/ApiDemoPanel/FormSelect/styles.module.css +0 -51
  309. package/lib-next/theme/ApiDemoPanel/FormTextInput/index.js +0 -24
  310. package/lib-next/theme/ApiDemoPanel/FormTextInput/styles.module.css +0 -21
  311. package/lib-next/theme/ApiDemoPanel/LiveEditor/index.js +0 -59
  312. package/lib-next/theme/ApiDemoPanel/LiveEditor/styles.module.css +0 -35
  313. package/lib-next/theme/ApiDemoPanel/MethodEndpoint/index.js +0 -53
  314. package/lib-next/theme/ApiDemoPanel/ParamOptions/index.js +0 -292
  315. package/lib-next/theme/ApiDemoPanel/Request/index.js +0 -60
  316. package/lib-next/theme/ApiDemoPanel/Request/styles.module.css +0 -18
  317. package/lib-next/theme/ApiDemoPanel/Response/index.js +0 -67
  318. package/lib-next/theme/ApiDemoPanel/Response/slice.js +0 -23
  319. package/lib-next/theme/ApiDemoPanel/SecuritySchemes/index.js +0 -274
  320. package/lib-next/theme/ApiDemoPanel/Server/index.js +0 -132
  321. package/lib-next/theme/ApiDemoPanel/Server/styles.module.css +0 -56
  322. package/lib-next/theme/ApiDemoPanel/index.js +0 -28
  323. package/lib-next/theme/ApiDemoPanel/storage-utils.js +0 -33
  324. package/lib-next/theme/ApiItem/Layout/index.js +0 -68
  325. package/lib-next/theme/ApiItem/Layout/styles.module.css +0 -17
  326. package/lib-next/theme/ApiItem/hooks.js +0 -10
  327. package/lib-next/theme/ApiItem/index.js +0 -155
  328. package/lib-next/theme/ApiItem/store.js +0 -38
  329. package/lib-next/theme/ApiLogo/index.js +0 -48
  330. package/lib-next/theme/ApiTabs/index.js +0 -277
  331. package/lib-next/theme/ApiTabs/styles.module.css +0 -120
  332. package/lib-next/theme/DiscriminatorTabs/index.js +0 -272
  333. package/lib-next/theme/DiscriminatorTabs/styles.module.css +0 -119
  334. package/lib-next/theme/MimeTabs/index.js +0 -295
  335. package/lib-next/theme/MimeTabs/styles.module.css +0 -126
  336. package/lib-next/theme/ParamsItem/index.js +0 -135
  337. package/lib-next/theme/ParamsItem/styles.module.css +0 -24
  338. package/lib-next/theme/ResponseSamples/index.js +0 -27
  339. package/lib-next/theme/ResponseSamples/styles.module.css +0 -7
  340. package/lib-next/theme/SchemaItem/index.js +0 -114
  341. package/lib-next/theme/SchemaItem/styles.module.css +0 -38
  342. package/lib-next/theme/SchemaTabs/index.js +0 -270
  343. package/lib-next/theme/SchemaTabs/styles.module.css +0 -110
  344. package/lib-next/theme/styles.css +0 -520
  345. package/lib-next/theme-classic.d.ts +0 -13
  346. package/lib-next/theme-openapi.d.ts +0 -234
  347. package/lib-next/theme-translations.d.ts +0 -9
  348. package/lib-next/types.js +0 -1
  349. package/src/theme/ApiDemoPanel/Body/json2xml.js +0 -43
  350. package/src/theme/ApiDemoPanel/CodeTabs/index.tsx +0 -239
  351. package/src/theme/ApiDemoPanel/CodeTabs/styles.module.css +0 -17
  352. package/src/theme/ApiDemoPanel/Curl/languages.json +0 -1386
  353. package/src/theme/ApiDemoPanel/Curl/styles.module.css +0 -84
  354. package/src/theme/ApiDemoPanel/Execute/index.tsx +0 -189
  355. package/src/theme/ApiDemoPanel/FloatingButton/styles.module.css +0 -26
  356. package/src/theme/ApiDemoPanel/FormItem/styles.module.css +0 -12
  357. package/src/theme/ApiDemoPanel/FormMultiSelect/styles.module.css +0 -38
  358. package/src/theme/ApiDemoPanel/FormTextInput/index.tsx +0 -34
  359. package/src/theme/ApiDemoPanel/FormTextInput/styles.module.css +0 -21
  360. package/src/theme/ApiDemoPanel/LiveEditor/index.tsx +0 -75
  361. package/src/theme/ApiDemoPanel/LiveEditor/styles.module.css +0 -35
  362. package/src/theme/ApiDemoPanel/MethodEndpoint/index.tsx +0 -62
  363. package/src/theme/ApiDemoPanel/ParamOptions/index.tsx +0 -326
  364. package/src/theme/ApiDemoPanel/Request/index.tsx +0 -71
  365. package/src/theme/ApiDemoPanel/Response/index.tsx +0 -75
  366. package/src/theme/ApiDemoPanel/Server/styles.module.css +0 -56
  367. package/src/theme/ApiDemoPanel/postman-collection.d.ts +0 -10
  368. package/src/theme/ApiDemoPanel/react-modal.d.ts +0 -8
  369. package/src/theme/ApiTabs/styles.module.css +0 -120
  370. package/src/theme/DiscriminatorTabs/styles.module.css +0 -119
  371. package/src/theme/MimeTabs/styles.module.css +0 -126
  372. package/src/theme/ParamsItem/styles.module.css +0 -24
  373. package/src/theme/ResponseSamples/styles.module.css +0 -7
  374. package/src/theme/SchemaItem/styles.module.css +0 -38
  375. package/src/theme/SchemaTabs/styles.module.css +0 -110
  376. package/src/theme/styles.css +0 -520
  377. /package/{lib-next/theme/ApiDemoPanel → lib/theme/ApiExplorer}/Body/json2xml.js +0 -0
  378. /package/{lib-next/theme/ApiDemoPanel/Curl → lib/theme/ApiExplorer/CodeSnippets}/languages.json +0 -0
  379. /package/src/theme/{ApiDemoPanel → ApiExplorer}/Accept/slice.ts +0 -0
  380. /package/src/theme/{ApiDemoPanel → ApiExplorer}/Authorization/auth-types.ts +0 -0
  381. /package/{lib/theme/ApiDemoPanel → src/theme/ApiExplorer}/Body/json2xml.js +0 -0
  382. /package/src/theme/{ApiDemoPanel → ApiExplorer}/Body/slice.ts +0 -0
  383. /package/{lib/theme/ApiDemoPanel/Curl → src/theme/ApiExplorer/CodeSnippets}/languages.json +0 -0
  384. /package/src/theme/{ApiDemoPanel → ApiExplorer}/ContentType/slice.ts +0 -0
  385. /package/src/theme/{ApiDemoPanel → ApiExplorer}/Export/index.tsx +0 -0
  386. /package/src/theme/{ApiDemoPanel → ApiExplorer}/ParamOptions/slice.ts +0 -0
  387. /package/src/theme/{ApiDemoPanel → ApiExplorer}/Server/slice.ts +0 -0
  388. /package/{lib-next/theme/ApiDemoPanel → src/theme/ApiExplorer}/postman-collection.d.ts +0 -0
  389. /package/{lib-next/theme/ApiDemoPanel → src/theme/ApiExplorer}/react-modal.d.ts +0 -0
  390. /package/src/theme/{ApiDemoPanel → ApiExplorer}/storage-utils.ts +0 -0
@@ -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
- ]