fmvilas / swagger-node-codegen

An OpenAPI 3.x/Swagger 2 code generator for Node.js
Apache License 2.0
200 stars 55 forks source link

support missing method description #2

Closed callmemagnus closed 7 years ago

callmemagnus commented 7 years ago

The description and summary fields are not required as per the spec.

Word-wrap simply returns the input string when (== null).

Related issue: #3

This breaks the parsing.

NOTE: I did not include the dist/

fmvilas commented 7 years ago

Great catch 👏 . Thanks again!