fsbahman / apidoc-swagger

apidoc and swagger are two nice projects which are focusing on documentation of APIs. This project is a middle tier which tries to bring them together in a sense that it uses apidoc to convert inline documentation to json schema and later convert it to swagger json schmea.
Other
252 stars 129 forks source link

Fix #14 - makes access to Parameters attribute in fields non-breaking in cases where it is missing #15

Closed brownstein closed 5 years ago

brownstein commented 8 years ago

This fixes issue #14 by ensuring that the Parameters array is not undefined before checking its length.