You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-9Lines changed: 12 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Node generator for Node-RED
2
2
3
-
Node generator is command line tool to generate Node-RED node modules from several various sources including Swagger specification and function node's source.
3
+
Node generator is a command line tool to generate Node-RED node modules from several various sources, including Open API document and function node's source.
4
4
Using this tool, node developers can dramatically reduce their time to implement Node-RED node modules.
5
5
6
6
## Installation
@@ -20,8 +20,8 @@ You may need to run this with `sudo`, or from within an Administrator command sh
20
20
Node generator for Node-RED
21
21
22
22
Supported source:
23
+
- Open API document
23
24
- Function node (js file in library, "~/.node-red/lib/function/")
24
-
- Swagger definition
25
25
26
26
Options:
27
27
-o : Destination path to save generated node (default: current directory)
@@ -31,10 +31,13 @@ You may need to run this with `sudo`, or from within an Administrator command sh
31
31
--version : Node version (format: "number.number.number" like "4.5.1")
-[How to use Node generator](docs/index.md#how-to-use-node-generator) ([Japanese](docs/index_ja.md#how-to-use-node-generator))
63
-
-[Generated files which node package contains](docs/index.md#generated-files-which-node-package-contains) ([Japanese](docs/index_ja.md#generated-files-which-node-package-contains))
64
-
-[How to create node from Swagger definition](docs/index.md#how-to-create-node-from-swagger-definition) ([Japanese](docs/index_ja.md#how-to-create-node-from-swagger-definition))
65
-
-[How to create node from function node](docs/index.md#how-to-create-node-from-function-node) ([Japanese](docs/index_ja.md#how-to-create-node-from-function-node))
-[How to use Node generator](https://github.com/node-red/node-red-nodegen/blob/0.0.3/docs/index.md#how-to-use-node-generator) ([Japanese](https://github.com/node-red/node-red-nodegen/blob/0.0.3/docs/index_ja.md#how-to-use-node-generator))
66
+
-[Generated files which node package contains](https://github.com/node-red/node-red-nodegen/blob/0.0.3/docs/index.md#generated-files-which-node-package-contains) ([Japanese](https://github.com/node-red/node-red-nodegen/blob/0.0.3/docs/index_ja.md#generated-files-which-node-package-contains))
67
+
-[How to create a node from Open API document](https://github.com/node-red/node-red-nodegen/blob/0.0.3/docs/index.md#how-to-create-a-node-from-open-api-document) ([Japanese](https://github.com/node-red/node-red-nodegen/blob/0.0.3/docs/index_ja.md#how-to-create-a-node-from-open-api-document))
68
+
-[How to create a node from function node](https://github.com/node-red/node-red-nodegen/blob/0.0.3/docs/index.md#how-to-create-a-node-from-function-node) ([Japanese](https://github.com/node-red/node-red-nodegen/blob/0.0.3/docs/index_ja.md#how-to-create-a-node-from-function-node))
66
69
67
70
Note: Currently node generator supports GET and POST methods using JSON format without authentication.
0 commit comments