Explorar el Código

add description in info block

Bastien Sevajol hace 6 años
padre
commit
2f57f34fb6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      hapic/doc.py

+ 1 - 1
hapic/doc.py Ver fichero

@@ -152,7 +152,7 @@ class DocGenerator(object):
152 152
 
153 153
         spec = APISpec(
154 154
             title=title,
155
-            description=description,
155
+            info=dict(description=description),
156 156
             version='1.0.0',
157 157
             plugins=(
158 158
                 'apispec.ext.bottle',