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
 
152
 
153
         spec = APISpec(
153
         spec = APISpec(
154
             title=title,
154
             title=title,
155
-            description=description,
155
+            info=dict(description=description),
156
             version='1.0.0',
156
             version='1.0.0',
157
             plugins=(
157
             plugins=(
158
                 'apispec.ext.bottle',
158
                 'apispec.ext.bottle',