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

867 B

InputAllOf

Properties

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

Example

from petstore_api.models.input_all_of import InputAllOf

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

# convert the object into a dict
input_all_of_dict = input_all_of_instance.to_dict()
# create an instance of InputAllOf from a dict
input_all_of_form_dict = input_all_of.from_dict(input_all_of_dict)

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