Browse Source

add description in info block

Bastien Sevajol 6 years ago
parent
commit
2f57f34fb6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hapic/doc.py

+ 1 - 1
hapic/doc.py View File

@@ -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',