def _ref(self, param, base_name=None):
name = base_name or param.get('<STR_LIT:title>', '<STR_LIT>') or param.get('<STR_LIT:name>', '<STR_LIT>')<EOL>pointer = self.json_pointer + name<EOL>self.parameter_registry[name] = param<EOL>return {'<STR_LIT>': pointer}<EOL>
Store a parameter schema and return a reference to it.

:param schema:
    Swagger parameter definition.
:param base_name:
    Name that should be used for the reference.

:rtype: dict
:returns: JSON pointer to the original parameter definition.