mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-05-08 15:53:54 +00:00
Don't include read-only properties in Python examples. (#9252)
* Don't include read-only properties in Python examples. When using a schema with read-only fields as API inputs, Python generates examples for those: this excludes them. * Fix tests
This commit is contained in:
@@ -6,6 +6,7 @@ a model that includes properties which should stay primitive (String + Boolean)
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**my_number** | [**NumberWithValidations**](NumberWithValidations.md) | | [optional]
|
||||
**my_readonly** | [**Readonly**](Readonly.md) | | [optional]
|
||||
**my_string** | **str** | | [optional]
|
||||
**my_boolean** | **bool** | | [optional]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user