...

Text file src/github.com/go-openapi/spec/fixtures/expansion/crossFileRef.json

Documentation: github.com/go-openapi/spec/fixtures/expansion

     1{
     2  "paths": {
     3    "/pets": {
     4      "get": {
     5        "parameters": [
     6          {
     7            "$ref": "./all-the-things.json#/parameters/idParam"
     8          }
     9        ]
    10      }
    11    },
    12    "/": {
    13      "get": {
    14        "responses": {
    15          "200": {
    16            "$ref": "./all-the-things.json#/responses/anotherPet"
    17          }
    18        }
    19      }
    20    }
    21  }
    22}

View as plain text