github.com/kaisawind/go-swagger@v0.19.0/fixtures/bugs/1859/fixture-1859.json (about)

     1  {
     2      "swagger": "2.0",
     3      "info": {
     4          "title": "test",
     5          "version": "0.1.0"
     6      },
     7      "paths": {
     8          "/test": {
     9              "get": {
    10                  "operationId": "getTest",
    11                  "responses": {
    12                      "200": {
    13                          "description": "OK",
    14                          "schema": {
    15                              "type": "object"
    16                          }
    17                      }
    18                  }
    19              }
    20          },
    21          "/test2": {
    22              "get": {
    23                  "operationId": "getTest2",
    24                  "responses": {
    25                      "200": {
    26                          "description": "OK",
    27                          "schema": {
    28                              "$ref": "#/definitions/Error"
    29                          }
    30                      }
    31                  }
    32              }
    33          },
    34          "/test3": {
    35              "get": {
    36                  "operationId": "getTest3",
    37                  "responses": {
    38                      "200": {
    39                          "description": "OK",
    40                          "schema": {
    41                              "type": "object",
    42                              "additionalProperties": {
    43                                "type": "object"
    44                              }
    45                          }
    46                      }
    47                  }
    48              }
    49          },
    50          "/test4": {
    51              "get": {
    52                  "operationId": "getTest4",
    53                  "responses": {
    54                      "200": {
    55                          "description": "OK",
    56                          "schema": {
    57                              "type": "object",
    58                              "additionalProperties": {
    59                                "$ref": "#/definitions/Error"
    60                              }
    61                          }
    62                      }
    63                  }
    64              }
    65          }
    66      },
    67      "definitions": {
    68          "Error": {
    69              "type": "object"
    70          }
    71      }
    72  }