[PYTHON] Setting default value for Required variables (#10809)

* [req_vars_changes]

* Added new schema to generate samples to test the issue mentioned in the PR.

* Changed the variable name from setRequiredVars to initRequiredVars

* Added initRequiredVars as a generator additional property

* Regenerating the samples after rebasing the code with master branch

* Changed the description of additional property
This commit is contained in:
Akhil Nair
2022-03-30 21:22:00 +05:30
committed by GitHub
parent bb12861479
commit a6bcef5b16
56 changed files with 5032 additions and 0 deletions

View File

@@ -60,12 +60,19 @@ docs/ParentPet.md
docs/Pet.md
docs/PetApi.md
docs/Player.md
docs/Polygon.md
docs/PolygonAllOf.md
docs/ReadOnlyFirst.md
docs/Shape.md
docs/SpecialModelName.md
docs/Square.md
docs/SquareAllOf.md
docs/StoreApi.md
docs/StringBooleanMap.md
docs/StringEnum.md
docs/Tag.md
docs/Triangle.md
docs/TriangleAllOf.md
docs/TypeHolderDefault.md
docs/TypeHolderExample.md
docs/User.md
@@ -139,11 +146,18 @@ petstore_api/model/parent_all_of.py
petstore_api/model/parent_pet.py
petstore_api/model/pet.py
petstore_api/model/player.py
petstore_api/model/polygon.py
petstore_api/model/polygon_all_of.py
petstore_api/model/read_only_first.py
petstore_api/model/shape.py
petstore_api/model/special_model_name.py
petstore_api/model/square.py
petstore_api/model/square_all_of.py
petstore_api/model/string_boolean_map.py
petstore_api/model/string_enum.py
petstore_api/model/tag.py
petstore_api/model/triangle.py
petstore_api/model/triangle_all_of.py
petstore_api/model/type_holder_default.py
petstore_api/model/type_holder_example.py
petstore_api/model/user.py