[api] workaround code quality check