OpenAPITools / openapi-generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
https://openapi-generator.tech
Apache License 2.0
21.97k stars 6.59k forks source link

[swift6] Add conditional Hashable conformance to NullEncodable #20149

Closed x-sheep closed 4 days ago

x-sheep commented 4 days ago

NullEncodable currently assumes that all usages conform to Hashable. This could lead to compilation errors in the generated code.

@jgavris @ehyche @Edubits @jaz-ah @4brunu @dydus0x14

PR checklist