We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
BodyType
1 parent 2f04e29 commit 3142c62Copy full SHA for 3142c62
lua/rest-nvim/parser/init.lua
@@ -17,8 +17,6 @@ local jar = require("rest-nvim.cookie_jar")
17
18
---@alias Source integer|string Buffer or string which the `node` is extracted
19
20
----@alias BodyType "json"|"xml"|"external"|"form"|"graphql"
21
-
22
local NAMED_REQUEST_QUERY = vim.treesitter.query.parse("http", [[
23
(section
24
(request_separator
lua/rest-nvim/request.lua
@@ -11,7 +11,7 @@ local nio = require("nio")
11
local jar = require("rest-nvim.cookie_jar")
12
13
---@class rest.Request.Body
14
----@field __TYPE BodyType
+---@field __TYPE "json"|"xml"|"external"|"form"|"graphql"
15
---@field data any
16
---@class rest.Request
0 commit comments