Load yaml api definition