thrift docs validation - code review changes