added jsdoc definitions to apis
This commit is contained in:
+2
-2
@@ -4,10 +4,10 @@ const swaggerHandler = withSwagger({
|
||||
definition: {
|
||||
openapi: '3.0.0',
|
||||
info: {
|
||||
title: 'NextJS Swagger',
|
||||
title: 'PEDW Example',
|
||||
version: '0.1.0',
|
||||
},
|
||||
},
|
||||
apiFolder: 'pages/api',
|
||||
schemaFolders: ['models'],
|
||||
});
|
||||
export default swaggerHandler();
|
||||
Reference in New Issue
Block a user