[api] satisfy ruby syntax validator check