def METHOD_NAME(self, view):
    """For autodocs."""
    return [
        {
            "name": "search",
            "schema": {"type": "string"},
            "required": False,
            "in": "query",
            "description": "Search query. Can be either a fragment of a course code, or any "
            "keyword/professor name.",
        },
    ]