Browse Source

update api-docs error

frank 6 years ago
parent
commit
2239203278
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/server/routes/apiv3/docs.js

+ 1 - 0
src/server/routes/apiv3/docs.js

@@ -9,6 +9,7 @@ const router = express.Router();
 // paths to scan
 const APIS = [
   'src/server/routes/apiv3/**/*.js',
+  'src/server/models/**/*.js',
 ];
 
 module.exports = (crowi) => {