Twipped / joi-to-swagger

A library to convert Joi schema objects into Swagger schema definitions
Other
164 stars 63 forks source link

Add support for es6 default import #61

Closed kroupacz closed 4 years ago

kroupacz commented 4 years ago

I would like to add support for es6 default import syntax. e.g. in TypeScript I will be able to import your library using by following syntax: import joiToSwagger from 'joi-to-swagger'

Mairu commented 4 years ago

Hi, thanks for the pull request. But master is kind of obsolete, because there is already a rewrite ongoing to support @hapi/joi >= 16, see the joi_16 branch.

kroupacz commented 4 years ago

Thanks for info about the new branch. I just changed the target branch of my commits.

Mairu commented 4 years ago

Thank you!