fix web-api dependency type