Add swagger to document the api