...

Text file src/github.com/go-openapi/analysis/fixtures/bugs/2657/schema.json

Documentation: github.com/go-openapi/analysis/fixtures/bugs/2657

     1{
     2  "consumes": [
     3    "application/json"
     4  ],
     5  "produces": [
     6    "application/json"
     7  ],
     8  "schemes": [
     9    "http",
    10    "https"
    11  ],
    12  "swagger": "2.0",
    13  "info": {
    14    "title": "Sample API.",
    15    "version": "1.0.0"
    16  },
    17  "paths": {
    18    "/hello": {
    19      "get": {
    20        "description": "Hello",
    21        "operationId": "hello",
    22        "responses": {
    23          "200": {
    24            "description": "success"
    25          }
    26        }
    27      }
    28    }
    29  },
    30  "definitions": {
    31    "Author": {
    32      "type": "object",
    33      "properties": {
    34        "name": {
    35          "type": "string"
    36        }
    37      }
    38    },
    39    "Book": {
    40      "type": "object",
    41      "properties": {
    42        "author": {
    43          "$ref": "#/definitions/Author"
    44        }
    45      }
    46    }
    47  }
    48}

View as plain text