github.com/rzurga/go-swagger@v0.28.1-0.20211109195225-5d1f453ffa3a/fixtures/expansion/params.json (about)

     1  {
     2    "parameters": {
     3      "id": {
     4        "type": "integer",
     5        "format": "int64",
     6        "in": "path",
     7        "required": true
     8      },
     9      "tag": {
    10        "type": "string",
    11        "in": "query",
    12        "required": false
    13      },
    14      "query": {
    15        "$ref": "#/parameters/tag"
    16      }
    17    },
    18    "paths": {
    19      "/cars/{id}": {
    20        "parameters": [
    21          { "$ref": "#/parameters/id"}
    22        ]
    23      }
    24    }
    25  }