add swagger documentation for api