Skip to content

Commit e851062

Browse files
committed
Add more useful links
1 parent 37be110 commit e851062

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

winter_openapi/type_info_converter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ def convert_type_info_to_openapi_schema(value: TypeInfo, *, output: bool) -> Sch
5555
if value.nullable:
5656
if value.type_.value == 'object':
5757
# https://stackoverflow.com/questions/40920441/how-to-specify-a-property-can-be-null-or-a-reference-with-swagger
58+
# Better solution, but not implemented yet https://github.com/OpenAPITools/openapi-generator/issues/9083
5859
schema = Schema(nullable=True, allOf=[schema])
5960
else:
6061
schema.nullable = True

0 commit comments

Comments
 (0)