Integrate swagger to document the api