fixes #206 to add swagger