fixes #206 to add swagger

fixes #206 to add swagger