swagger routes for the api key generation service