Guénaël Muller пре 8 година
родитељ
комит
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