You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix range responses
### Motivation
Fixes#197, broken range responses, such as `4xx`.
### Modifications
Fix the bug, seems to have been some old copy paste gone wrong, and we didn't have a test for it.
### Result
Now range responses work again.
### Test Plan
Changed one of the status code responses to be a range response, updated fixtures.
Reviewed by: glbrntt
Builds:
✔︎ pull request validation (5.8) - Build finished.
✔︎ pull request validation (5.9) - Build finished.
✔︎ pull request validation (docc test) - Build finished.
✔︎ pull request validation (integration test) - Build finished.
✔︎ pull request validation (nightly) - Build finished.
✔︎ pull request validation (soundness) - Build finished.
#198
Copy file name to clipboardExpand all lines: Tests/OpenAPIGeneratorReferenceTests/Resources/ReferenceSources/Petstore_FF_MultipleContentTypes/Client.swift
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -215,7 +215,7 @@ public struct Client: APIProtocol {
Copy file name to clipboardExpand all lines: Tests/OpenAPIGeneratorReferenceTests/Resources/ReferenceSources/Petstore_FF_MultipleContentTypes/Server.swift
Copy file name to clipboardExpand all lines: Tests/OpenAPIGeneratorReferenceTests/Resources/ReferenceSources/Petstore_FF_MultipleContentTypes/Types.swift
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1042,10 +1042,10 @@ public enum Operations {
1042
1042
case created(Operations.createPet.Output.Created)
1043
1043
/// Bad request
1044
1044
///
1045
-
/// - Remark: Generated from `#/paths//pets/post(createPet)/responses/400`.
1045
+
/// - Remark: Generated from `#/paths//pets/post(createPet)/responses/4XX`.
0 commit comments