update version

This commit is contained in:
bipproduction
2025-11-20 16:28:05 +08:00
parent 9c7319f130
commit eba973ebba
2 changed files with 9 additions and 4 deletions

View File

@@ -7,6 +7,7 @@ import type {
} from "n8n-workflow"; } from "n8n-workflow";
import axios from "axios"; import axios from "axios";
import _ from "lodash";
interface OpenAPISpec { interface OpenAPISpec {
paths: Record<string, any>; paths: Record<string, any>;
@@ -195,11 +196,15 @@ export class OpenApiNode implements INodeType {
const description = op.description || "No description provided."; const description = op.description || "No description provided.";
ops.push({ ops.push({
name: `[${methodLabel}] ${path}${summary}`, name: `[${methodLabel}] ${_.kebabCase(summary).replace(/-/g, " ")}`,
value: opId, value: opId,
description: `${summary}\n\n${description}\n\nTags: ${ description: `${_.kebabCase(summary).replace(/-/g, " ")}\n\n${description}
\nTags: ${
op.tags ? op.tags.join(", ") : "None" op.tags ? op.tags.join(", ") : "None"
}\nOperation ID: ${opId}\nMethod: ${methodLabel}\nPath: ${path}`, }
\nOperation ID: ${opId}
\nMethod: ${methodLabel}
\nPath: ${path}`,
}); });
} }
} }

View File

@@ -1,6 +1,6 @@
{ {
"name": "n8n-nodes-openapi-node", "name": "n8n-nodes-openapi-node",
"version": "1.0.7", "version": "1.0.8",
"keywords": [ "keywords": [
"n8n", "n8n",
"n8n-nodes" "n8n-nodes"