github.com/josephspurrier/go-swagger@v0.2.1-0.20221129144919-1f672a142a00/fixtures/diff/refcircular.v2.json (about)

     1  {
     2    "swagger": "2.0",
     3    "info": {
     4      "title": "Swagger Fixture",
     5      "version": "1.0"
     6    },
     7    "paths": {
     8      "/a/": {
     9        "get": {
    10          "parameters": [
    11            {
    12              "name": "",
    13              "in": "body",
    14              "schema": { "$ref": "#/definitions/A1" }
    15            }
    16          ],
    17          "responses": {
    18            "200": {
    19              "description": "200 response",
    20              "schema": {
    21                "type": "array",
    22                "items": { "$ref": "#/definitions/A1" }
    23              }
    24            }
    25          }
    26        }
    27      }
    28    },
    29    "definitions": {
    30      "A1": {
    31        "type": "object",
    32        "properties": {
    33          "id": { "type": "integer" },
    34          "name": { "type": "string" },
    35          "a1":{ "$ref": "#/definitions/A1" }
    36        }
    37      }
    38    }
    39  }