This repository was archived by the owner on Dec 4, 2025. It is now read-only.
Commit 50e2848
committed
fix: 🐛 correct media type handling for
- CLOSE ISSUE #1133
- Remove redundant DELETE method check in bodyMediaType logic, which caused incorrect OpenAPI spec generation when `@DeleteMapping` is used with `@RequestBody`
- Simplify query parameter handling by removing unnecessary DELETE-specific condition
- Update copyright year from 2024 to 2025 in affected files@DeleteMapping with @RequestBody
1 parent cf70544 commit 50e2848
File tree
3 files changed
+5
-7
lines changed- src/main/java/com/ly/doc
- template
- utils
3 files changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
1110 | 1110 | | |
1111 | 1111 | | |
1112 | 1112 | | |
1113 | | - | |
1114 | | - | |
| 1113 | + | |
1115 | 1114 | | |
1116 | 1115 | | |
1117 | 1116 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
133 | | - | |
| 132 | + | |
134 | 133 | | |
135 | 134 | | |
136 | 135 | | |
| |||
0 commit comments