Bug - python client deserialization when attribute named self (#9006)

* fix by mapping outside of class

* tests

* regeneration and tests

* server

* INDENT

* a

* enable mapping

* Revert "server"

This reverts commit 6fc9712fb5.

* Samples regenerated

Co-authored-by: Justin Black <justin.a.black@gmail.com>
This commit is contained in:
gbmarc1
2021-04-10 22:00:32 -04:00
committed by GitHub
parent 14c7f39c2b
commit 8e0955fd3c
12 changed files with 262 additions and 16 deletions

View File

@@ -85,6 +85,7 @@ docs/ShapeInterface.md
docs/ShapeOrNull.md
docs/SimpleQuadrilateral.md
docs/SomeObject.md
docs/SomeObjectWithSelfAttr.md
docs/SpecialModelName.md
docs/StoreApi.md
docs/StringBooleanMap.md
@@ -190,6 +191,7 @@ petstore_api/model/shape_interface.py
petstore_api/model/shape_or_null.py
petstore_api/model/simple_quadrilateral.py
petstore_api/model/some_object.py
petstore_api/model/some_object_with_self_attr.py
petstore_api/model/special_model_name.py
petstore_api/model/string_boolean_map.py
petstore_api/model/string_enum.py