mirror of
https://github.com/n8n-io/n8n
synced 2026-04-21 15:47:20 +00:00
chore(n8n Node): Add insights summary endpoint to API coverage manifest (no-changelog) (#28160)
This commit is contained in:
parent
7983a41132
commit
1253888174
3 changed files with 8 additions and 0 deletions
|
|
@ -41,6 +41,9 @@
|
|||
"GET /discover": {
|
||||
"status": "gap"
|
||||
},
|
||||
"GET /insights/summary": {
|
||||
"status": "gap"
|
||||
},
|
||||
"GET /executions": {
|
||||
"status": "covered",
|
||||
"nodeOperation": "execution:getAll"
|
||||
|
|
|
|||
|
|
@ -27,6 +27,8 @@ const MANIFEST_RELATIVE = 'packages/nodes-base/nodes/N8n/n8n-api-coverage.json';
|
|||
|
||||
const HTTP_METHODS = new Set(['get', 'post', 'put', 'patch', 'delete', 'head', 'options']);
|
||||
|
||||
// This test reads OpenAPI files from packages/cli. Keep Turbo inputs for
|
||||
// n8n-nodes-base#test in sync (see turbo.json) so CLI spec changes invalidate cache.
|
||||
// Matches path entries in openapi.yml: " /some/path:\n $ref: './relative/file.yml'"
|
||||
const PATH_REF_PATTERN = /^ {2}(\/\S+):\s*\n\s+\$ref:\s*'([^']+)'/gm;
|
||||
|
||||
|
|
|
|||
|
|
@ -26,6 +26,9 @@
|
|||
"dependsOn": ["^build", "build"],
|
||||
"outputs": ["coverage/**", "*.xml"]
|
||||
},
|
||||
"n8n-nodes-base#test": {
|
||||
"inputs": ["$TURBO_DEFAULT$", "../cli/src/public-api/v1/**/*.yml"]
|
||||
},
|
||||
"test:unit": {
|
||||
"dependsOn": ["^build", "build"],
|
||||
"outputs": ["coverage/**", "*.xml"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue