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

Explicit dependency on HTTPTypes #39

Closed czechboy0 closed 11 months ago

czechboy0 commented 11 months ago

Motivation

Recent SwiftPM versions seem to be a bit stricter about using (i.e., import ...) transitive dependencies without explicitly declaring them as direct dependencies.

Modifications

Explicitly depend on the HTTPTypes module from swift-http-types.

Result

More explicitly declare the dependency graph.

Test Plan

All tests pass.

czechboy0 commented 11 months ago

@swift-server-bot test this please

czechboy0 commented 11 months ago

I'm not aware of any, and I'm not even positive that this is needed. It's a somewhat speculative and defensive change.