...

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

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

     1{
     2  "swagger": "2.0",
     3  "info": {
     4    "version": "2.1.0",
     5    "title": "Missing Item API"
     6  },
     7  "host": "item.com",
     8  "basePath": "/missing/ref",
     9  "schemes": [
    10    "http"
    11  ],
    12  "paths": {
    13    "/employees": {
    14      "get": {
    15        "operationId": "LIST-Employees",
    16        "summary": "List Employee Types",
    17        "responses": {
    18          "200": {
    19            "description": "",
    20            "schema": {
    21              "type": "array",
    22              "items": {
    23                "$ref": "#/definitions/employees-output"
    24              }
    25            }
    26          }
    27        }
    28      }
    29    }
    30  }
    31}

View as plain text