diff --git a/docs/openapi_generator/strong_typing/schema.py b/docs/openapi_generator/strong_typing/schema.py index 795e160e3..d7e2eacfc 100644 --- a/docs/openapi_generator/strong_typing/schema.py +++ b/docs/openapi_generator/strong_typing/schema.py @@ -520,11 +520,6 @@ class JsonSchemaGenerator: if output_name in f: json_schema_extra = f[output_name].json_schema_extra - if json_schema_extra: - from rich.pretty import pprint - - pprint(json_schema_extra) - if is_type_optional(property_type): optional_type: type = unwrap_optional_type(property_type) property_def = self.type_to_schema( @@ -564,8 +559,6 @@ class JsonSchemaGenerator: properties[output_name] = property_def - # print("properties", properties) - schema = {"type": "object"} if len(properties) > 0: schema["properties"] = typing.cast(JsonType, properties)