Can't use container
as a property name of a model (original) (raw)
Description
In our API, one of the model has a container
property, this conflict with the container
from the decoder
.
wouldn't using self.
help in mitigating this problem ?
Reproduction
openapi-generator-config.yaml
generate:
- types
- client
accessModifier: public
Package version(s)
- swift-openapi-generator : 1.5.0
- swift-openapi-runtime: 1.7.0
- swift-openapi-urlsession: 1.0.2
Expected behavior
I can use container
as a property of a model in my schema
Environment
swift-driver version: 1.115 Apple Swift version 6.0 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
Target: arm64-apple-macosx15.0
Additional information
No response