diff --git a/python/templates/model.py.jinja b/python/templates/model.py.jinja index 745a64526..29e876d8a 100644 --- a/python/templates/model.py.jinja +++ b/python/templates/model.py.jinja @@ -1,5 +1,6 @@ {% set class_name = model.class_info.name %} -{% if model.required_properties == [] and model.optional_properties == [] %} +# TODO - remove this special case when we fix the generated code for empty openapi structs +{% if model.required_properties == [] and model.optional_properties == [] and model.class_info.name != "CreateStreamOut" %} from typing import Any, Dict, Type, TypeVar T = TypeVar("T", bound="{{ class_name }}")