[Python] Allow models to have properties of type self (#4888)

* Refactors openapi_types into a staticmethod

* Adds a Player model with a self type rpoperty, adds a test to ensure that it is working right
This commit is contained in:
Justin Black
2020-01-10 01:43:35 -08:00
committed by William Cheng
parent 75508f5ce0
commit cbc12543a9
73 changed files with 1212 additions and 507 deletions

View File

@@ -0,0 +1,11 @@
# player.Player
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | |
**enemy_player** | [**Player**](Player.md) | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)