Skip to content

Fail reference resolving with array type without items property #2074

@MugeSo

Description

@MugeSo

swagger-ui version: 2.1.4

{
  "swagger": "2.0",

  "basePath": "/api",

  "info": {
    "title": "sample",
    "version": "1.0.0"
  },

  "paths": {
    "/foo": {
      "get": {
        "description": "Foo",
        "produces": [
          "application/json"
        ],
        "responses": {
          "200": {
            "description": "A list of pets.",
            "schema": {
              "type": "array"
            }
          }
        }
      }
    }
  }
}

For example, schema definition for json-schema its self has this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions