{
  "swagger": "2.0",
  "info": {
    "title": "",
    "description": "",
    "version": "1.0.0"
  },
  "host": "api.test.com",
  "schemes": ["https"],
  "produces": ["application/json"],
  "paths": {},
  "definitions": {
    "Foo": {
      "properties": {
        "bar": {
          "$ref": "#/definitions/Bar"
        }
      }
    },
    "Bar": {
      "properties": {
        "baz": {
          "$ref": "#/definitions/Bar"
        }
      }
    }
  }
}

{
  "swagger": "2.0",
  "info": {
    "title": "",
    "description": "",
    "version": "1.0.0"
  },
  "host": "api.test.com",
  "schemes": ["https"],
  "produces": ["application/json"],
  "paths": {},
  "definitions": {
    "Foo": {
      "properties": {
        "bar": {
          "$ref": "#/definitions/Bar"
        }
      }
    },
    "Bar": {
      "properties": {
        "foo": {
          "$ref": "#/definitions/Foo"
        }
      }
    }
  }
}

Clean up cross reference test
Clean up cross reference test
