Files
bruno/packages/bruno-lang/v2/tests/examples/fixtures/json/examples-multiline-description.json
gopu-bruno 3ddf8e2a8b fix: support multiline descriptions in example blocks (#6879)
* fix: support multiline descriptions in example blocks

* refactor: use outdentString for example multiline text block parsing

* test: add test case for examples without description field

* test: add jsonToBru conversion test for multiline descriptions

* refactor: generalize descriptionvalue to textvalue in example grammar
2026-01-30 23:04:48 +05:30

22 lines
454 B
JSON

{
"meta": {
"name": "Multiline Description Test",
"type": "http",
"seq": "1"
},
"http": {
"method": "get",
"url": "https://api.example.com/test"
},
"examples": [
{
"name": "Test Example",
"description": "This is a multiline description.\nIt spans multiple lines.\nAnd should be parsed correctly.",
"request": {
"url": "https://api.example.com/test",
"method": "get"
}
}
]
}