Commit c41395a
Bumps OpenAPIKit to version 3.0.0-alpha.7 fixing an issue with trailing slashes. (#69)
### Motivation
As discussed in #51, there was an issue with paths containing trailing
slashes. The problem was identified in the
[OpenAPIKit](https://github.com/mattpolzin/OpenAPIKit) dependency. It
was fixed in the PR mattpolzin/OpenAPIKit#274.
### Modifications
This PR updates the OpenAPIKit dependency version from `3.0.0-alpha.6`
to `3.0.0-alpha.7` ([available
here](https://github.com/mattpolzin/OpenAPIKit/releases/tag/3.0.0-alpha.7)),
which includes the mentioned PR.
### Result
If a path ends with a trailing slash, such as `foo/bar/`, the generated
functions will now correctly call the path `foo/bar/` instead of (as
previously) `foo/bar`.
### Test Plan
Replaced an endpoint in the reference test to use a path with a trailing
slash.
### Resolves
- Resolves #51
---------
Co-authored-by: Miguel Ferreira <[email protected]>1 parent 2c9fc55 commit c41395a
File tree
6 files changed
+13
-13
lines changed- Tests
- OpenAPIGeneratorReferenceTests/Resources
- Docs
- ReferenceSources/Petstore
- PetstoreConsumerTests
6 files changed
+13
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
215 | | - | |
| 214 | + | |
| 215 | + | |
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
269 | | - | |
| 268 | + | |
| 269 | + | |
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
1004 | 1004 | | |
1005 | 1005 | | |
1006 | 1006 | | |
1007 | | - | |
1008 | | - | |
| 1007 | + | |
| 1008 | + | |
1009 | 1009 | | |
1010 | 1010 | | |
1011 | 1011 | | |
| |||
1079 | 1079 | | |
1080 | 1080 | | |
1081 | 1081 | | |
1082 | | - | |
| 1082 | + | |
1083 | 1083 | | |
1084 | 1084 | | |
1085 | 1085 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
347 | | - | |
| 347 | + | |
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
| |||
0 commit comments