Guénaël Muller 6 years ago
parent
commit
84e528bf19
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hapic/doc.py

+ 1 - 1
hapic/doc.py View File

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