Commit f2191a2
committed
Fix single quote escaping for python code generator (and its test)
Hard to spot, but in Java the strings "'" and "\'" are identical, so
the implementation and its test were broken identically.1 parent 04169ec commit f2191a2
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
- modules/openapi-generator/src
- main/java/org/openapitools/codegen/languages
- test/java/org/openapitools/codegen/python
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
| 217 | + | |
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
0 commit comments