Commit f5f8392
christianc
do not split and re-join YAML document
This fixes issue #2320 for YAML documents. The original code
surprisingly overrides the behavior of SwaggerSerializers.java to
needlessly split and join a YAML document. This was originally done to
remove some kind of comment line from the YAML, but this has been
removed long ago, making split/join-code pointless.1 parent 3bce461 commit f5f8392
File tree
1 file changed
+5
-16
lines changed- modules/swagger-jaxrs/src/main/java/io/swagger/jaxrs/listing
1 file changed
+5
-16
lines changedLines changed: 5 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
155 | 145 | | |
156 | 146 | | |
157 | 147 | | |
| |||
165 | 155 | | |
166 | 156 | | |
167 | 157 | | |
168 | | - | |
169 | | - | |
170 | | - | |
| 158 | + | |
171 | 159 | | |
| 160 | + | |
172 | 161 | | |
173 | 162 | | |
174 | 163 | | |
| |||
0 commit comments