def _path_condition_name(self, api_id, path):
<EOL>path_logical_id = path.replace('<STR_LIT:/>', '<STR_LIT>').replace('<STR_LIT:{>', '<STR_LIT>').replace('<STR_LIT:}>', '<STR_LIT>')<EOL>return '<STR_LIT>'.format(api_id, path_logical_id)<EOL>
Generate valid condition logical id from the given API logical id and swagger resource path.