Explorar el Código

Fix to support new hapic version with nested schema support

Guénaël Muller hace 7 años
padre
commit
bfac62ba7d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      hapic/doc.py

+ 1 - 1
hapic/doc.py Ver fichero

@@ -113,7 +113,7 @@ class DocGenerator(object):
113 113
                 # 'apispec.ext.bottle',
114 114
                 'apispec.ext.marshmallow',
115 115
             ],
116
-            schema_name_resolver_callable=generate_schema_name,
116
+            schema_name_resolver=generate_schema_name,
117 117
         )
118 118
 
119 119
         schemas = []