mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 08:46:43 +01:00
Fix doc comment, fix OpenAPI types
This commit is contained in:
committed by
FliegendeWurst
parent
059553fd81
commit
c8d5d69193
@@ -4,7 +4,8 @@ import swaggerJsdoc from "swagger-jsdoc";
|
||||
import fs from "fs";
|
||||
|
||||
/*
|
||||
* Usage: npm run generate-openapi | tail -n1 > x.json
|
||||
* Usage: npm run chore:generate-openapi
|
||||
* Output: ./src/routes/api/openapi.json
|
||||
*
|
||||
* Inspect generated file by opening it in https://editor-next.swagger.io/
|
||||
*
|
||||
@@ -33,7 +34,7 @@ const options = {
|
||||
"./src/routes/api/setup.ts",
|
||||
// all other files
|
||||
"./src/routes/api/*.ts",
|
||||
"./bin/generate-openapi.js"
|
||||
"./bin/generate-openapi.ts"
|
||||
]
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user