mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-11 04:42:47 +00:00
[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:
committed by
William Cheng
parent
75508f5ce0
commit
cbc12543a9
11
samples/client/petstore/python-experimental/docs/Player.md
Normal file
11
samples/client/petstore/python-experimental/docs/Player.md
Normal 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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user