apple / swift-openapi-generator

Generate Swift client and server code from an OpenAPI document.
https://swiftpackageindex.com/apple/swift-openapi-generator/documentation
Apache License 2.0
1.21k stars 87 forks source link

Add test for OperationDescription.responseOutcomes #554

Closed mt-hodaka closed 1 month ago

mt-hodaka commented 1 month ago

Motivation

I couldn't reproduce the issue #530 on my end. However, I noticed that there were no tests, so I would like to add them.

Modifications

Adding tests.

Result

Only adding tests, no change in the behavior of the library.

Test Plan

Added tests are passing.

simonjbeaumont commented 1 month ago

@swift-server-bot test this please

simonjbeaumont commented 1 month ago

Weird, we're getting a bunch of failures in our compat suite now, but there's been no change to the project or the OpenAPI documents (which are referenced by Git hash). I wonder if this has been caused by a dependency change somewhere. Possibly related to the discussion going on in https://github.com/apple/swift-openapi-generator/issues/553.

Have opened an empty PR to isolate: https://github.com/apple/swift-openapi-generator/pull/555.

//cc @czechboy0

czechboy0 commented 1 month ago

@swift-server-bot test this please

czechboy0 commented 1 month ago

@swift-server-bot test this please