forked from loafle/openapi-generator-original
* Copy the current Python generator into a "pydantic v1" generator This generator will be deprecated over time and the normal generator will focus on Pydantic v2. * add missing doc
917 B
917 B
SecondRef
Properties
Name | Type | Description | Notes |
---|---|---|---|
category | str | [optional] | |
circular_ref | CircularReferenceModel | [optional] |
Example
from petstore_api.models.second_ref import SecondRef
# TODO update the JSON string below
json = "{}"
# create an instance of SecondRef from a JSON string
second_ref_instance = SecondRef.from_json(json)
# print the JSON string representation of the object
print SecondRef.to_json()
# convert the object into a dict
second_ref_dict = second_ref_instance.to_dict()
# create an instance of SecondRef from a dict
second_ref_form_dict = second_ref.from_dict(second_ref_dict)