Guénaël Muller 6 anni fa
parent
commit
84e528bf19
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      hapic/doc.py

+ 1 - 1
hapic/doc.py Vedi File

@@ -15,7 +15,7 @@ from hapic.decorator import DecoratedController
15 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 19
     schema_class = spec.schema_class_resolver(
20 20
         spec,
21 21
         schema