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

Parameters not generating correctly in swagger doc #14

Closed codymwalker closed 9 years ago

codymwalker commented 9 years ago

It seems that the parameters code is never actually getting called. The generateTypeRow function is not actually setting the class and style on the generated div. Therefore the code that is parsing the type rows never finds the child with the .node-swagger-type-row class. Additionally, parameters (or properties in a body param) are not correctly attaching the items attribute to array types.