node-red / node-red-node-swagger

A set of tools for generating Swagger api documentation based on the HTTP nodes deployed in a flow
Apache License 2.0
62 stars 47 forks source link

"Deprecated" box getting ticked unexpectedly #5

Closed knolleary closed 9 years ago

knolleary commented 9 years ago

Steps to recreate:

  1. add new HTTP In node
  2. edit node, add new swagger-doc node
  3. At this point, Deprecated is not ticked
  4. Close swagger dialog (with 'Ok' not 'Cancel')
  5. Click to edit swagger-doc
  6. Deprecated is now ticked

Need to check if this is happening with any other checkboxes in the swagger node UI.

codymwalker commented 9 years ago

@knolleary You mentioned this was occurring on other config nodes and you fixed support for this upstream? Is there any changes that need to occur in the swagger.html file, ie. a different default value or something of that sort?

knolleary commented 9 years ago

Ah - forgot to follow up. Nothing is needed - was a very specific bug in the editor not handling checkboxes properly in newly-added config nodes.

Closing.