Skip to content

Commit 4d8aa77

Browse files
author
bnasslahsen
committed
code review
1 parent d5a7a0b commit 4d8aa77

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
{
2-
"500": {
3-
"$ref": "#/components/examples/http500Example"
4-
}
5-
}
1+
{"500":{"$ref":"#/components/examples/http500Example"}}

springdoc-openapi-webmvc-core/src/test/resources/results/app90.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"http500Example": {
100100
"summary": "HTTP 500 JSON Body response example",
101101
"description": "An example of HTTP response in case an error occurs on server side. instance attribute reference a traceId to ease server side analysis.",
102-
"value": "{\r\n \"500\": {\r\n \"$ref\": \"#/components/examples/http500Example\"\r\n }\r\n}\r\n"
102+
"value": "{\"500\":{\"$ref\":\"#/components/examples/http500Example\"}}"
103103
}
104104
}
105105
}

0 commit comments

Comments
 (0)