Do not collapse newlines in doc comments (#310)
This commit is contained in:
parent
91ee3f915c
commit
ce15380863
5 changed files with 14 additions and 48 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "My Amazing Struct",
|
||||
"description": "This struct shows off generating a schema with a custom title and description.",
|
||||
"description": "This struct shows off generating a schema with\na custom title and description.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"my_bool": {
|
||||
|
@ -48,7 +48,7 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"description": "A struct-like enum variant which contains some floats",
|
||||
"description": "A struct-like enum variant which contains\nsome floats",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"StructVariant": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue