def get_marshmallow_schema_name(self, plugin, schema):
try:<EOL><INDENT>return plugin.openapi.refs[schema]<EOL><DEDENT>except KeyError:<EOL><INDENT>plugin.spec.definition(schema.__name__, schema=schema)<EOL>return schema.__name__<EOL><DEDENT>
Get the schema name.

        If the schema doesn't exist, create it.