def METHOD_NAME(self, path, method):
    responses = {}
    if method == "GET":
        responses["404"] = {
            "description": "Not found.",
            "content": {
                "image/*": {
                    "schema": {
                        "type": "string",
                        "format": "binary",
                    }
                }
            },
        }
        responses["400"] = {
            "description": "Bad request.",
            "content": {
                "image/*": {
                    "schema": {
                        "type": "string",
                        "format": "binary",
                    }
                }
            },
        }
        responses["200"] = {
            "description": "Successful retrieval of localization graphic.",
            "content": {
                "image/*": {
                    "schema": {
                        "type": "string",
                        "format": "binary",
                    }
                }
            },
        }
    return responses