Fixed paramType and basePath in the API doc generator