add swagger

adding swagger annotations into the code.