node-red/node-red-nodegen

typedInput bug

kazuhitoyokoi opened this issue · 0 comments

What are the steps to reproduce?

  1. Generate Swagger node from Swagger definition which contains enum in parameter.
  2. Install the Swagger node to Node-RED home directory using npm install command.
  3. Run Node-RED and access Node-RED flow editor.

What happens?

There is a typedInput pulldown menu in property UI of swagger node. But it has no functionality because UI use only the pulldown menu generated from enum in parameter.
pulldownmenubug

What do you expect to happen?

typedInput pulldown menu should not be generated when the Swagger definition has enum in parameter.

Please tell us about your environment:

  • Node-RED version: v0.18.3
  • node.js version: v6.11.3
  • npm version: v3.10.10
  • Platform/OS: Ubuntu 16.04
  • Browser: Google Chrome 63.0.3239.132(Official Build)(64 bit)on Windows 10