apple / swift-openapi-urlsession

URLSession transport for Swift OpenAPI Generator.
https://swiftpackageindex.com/apple/swift-openapi-urlsession/documentation
Apache License 2.0
159 stars 31 forks source link

Add missing available annotation to streaming tests #33

Closed simonjbeaumont closed 11 months ago

simonjbeaumont commented 11 months ago

Motivation

The tests had a missing @available annotation which meant that they didn't build iOS (annoyingly, when building for macOS, these things are not checked so things were building fine locally).

Modifications

Add missing available annotation to streaming tests.

Result

Builds for iOS again.

Test Plan

Local testing, selecting generic iOS destination in Xcode. This failed before this patch, and succeeds with it.