Guénaël Muller 7 лет назад
Родитель
Сommit
84e528bf19
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1 1
      hapic/doc.py

+ 1 - 1
hapic/doc.py Просмотреть файл

15
 from hapic.description import ControllerDescription
15
 from hapic.description import ControllerDescription
16
 
16
 
17
 
17
 
18
-def generate_schema_ref(spec:APISpec, schema: marshmallow.Schema):
18
+def generate_schema_ref(spec:APISpec, schema: marshmallow.Schema) -> str:
19
     schema_class = spec.schema_class_resolver(
19
     schema_class = spec.schema_class_resolver(
20
         spec,
20
         spec,
21
         schema
21
         schema