Jonathan Klaassen 6bcf8cd332
Fix Python codegen in specific additionalProperties case. (#17659)
* Fix Python codegen is specific additionalProperties case.

* Add generated test files.

* Apply fix to AbstractPythonPydanticV1Codegen.java.
2024-02-05 22:17:14 +08:00

873 B

PropertyMap

Properties

Name Type Description Notes
some_data Dict[str, Tag] [optional]

Example

from petstore_api.models.property_map import PropertyMap

# TODO update the JSON string below
json = "{}"
# create an instance of PropertyMap from a JSON string
property_map_instance = PropertyMap.from_json(json)
# print the JSON string representation of the object
print PropertyMap.to_json()

# convert the object into a dict
property_map_dict = property_map_instance.to_dict()
# create an instance of PropertyMap from a dict
property_map_form_dict = property_map.from_dict(property_map_dict)

[Back to Model list] [Back to API list] [Back to README]