fix: free text

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-07-04 23:01:24 +02:00
parent 20ea4b66b9
commit ce031caef4
7 changed files with 4454 additions and 2254 deletions

View File

@@ -20,3 +20,21 @@ HTTP 200
(scheme_literal)
(status_code_pattern))
(comment))
===
Identifier
===
SOMETHING
---
(source_file
(request_declaration
(request_literal)
(url))
(comment)
(comment)
(response
(scheme_literal)
(status_code_pattern))
(comment))

View File

@@ -140,3 +140,53 @@ HTTP 302
(response
(scheme_literal)
(status_code_pattern)))
===
Request text body
===
POST https://somewhere.com?query=something
```
{
"some-name": "some-value"
}
```
HTTP 302
---
(source_file
(request_declaration
(request_literal)
(url))
(body
(text_body_declaration))
(response
(scheme_literal)
(status_code_pattern)))
===
Request text body json
===
POST https://somewhere.com?query=something
```json
{
"some-name": "some-value"
}
```
HTTP 302
---
(source_file
(request_declaration
(request_literal)
(url))
(body
(text_body_declaration))
(response
(scheme_literal)
(status_code_pattern)))