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.

Capture d’écran 2024-12-10 à 13 41 43

wouldn't using self. help in mitigating this problem ?

Reproduction

openapi-generator-config.yaml

generate:
  - types
  - client
accessModifier: public

Package version(s)

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