krakenjs / hapi-openapi

Build design-driven apis with OpenAPI (formerly swagger) 2.0 and hapi.
Other
211 stars 75 forks source link

Skip empty descriptions for routes #118

Closed sergioalvz closed 6 years ago

sergioalvz commented 6 years ago

Fix #117

Summary

Since hapi doesn't support empty descriptions (but OpenAPI does), this PR skips those empty descriptions from the OpenAPI definition when it is building the routes.

Other information

I've added a couple of specs for this case as well as ignored the vscode folder.

tlivings commented 6 years ago

Looks good to me.