swift-openapi-generator
swift-openapi-generator copied to clipboard
Consider the Client being generic over Transport/Middlewares
Might result in better performance as it'd avoid existentials in the transport and middlewares properties.
However, we also should keep in mind the use case where the exact transport and set of middlewares used at runtime is not known at build time (e.g. by adding a middleware dynamically based on an environment variable, choosing a transport based on an env var - testing vs live, etc).