This file is indexed.

/usr/share/gocode/src/github.com/go-openapi/loads/fixtures/json/resources/vendorExtensionExamples.json is in golang-github-go-openapi-loads-dev 0.0~git20160704.0.18441df-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
{
  "swagger": "2.0",
  "x-reverb": {
    "addAnythingYouWant": true
  },
  "info": {
    "x-reverb-info": "this is an example",
    "version": "1.0.9-abcd",
    "title": "Swagger Sample API",
    "description": "A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification",
    "termsOfService": "http://helloreverb.com/terms/",
    "contact": {
      "name": "wordnik api team",
      "url": "http://developer.wordnik.com"
    },
    "license": {
      "name": "Creative Commons 4.0 International",
      "url": "http://creativecommons.org/licenses/by/4.0/"
    }
  },
  "host": "my.api.com",
  "basePath": "/v1",
  "schemes": [
    "http",
    "https"
  ],
  "consumes": [
    "application/json"
  ],
  "produces": [
    "application/json",
    "application/xml"
  ],
  "paths": {
    "x-reverb-path-info": "vendor info",
    "/pets": {
      "x-vendor-method": {},
      "get": {
        "x-vendor-operation-property": {},
        "description": "Returns a pet based on ID",
        "summary": "Find pet by ID",
        "operationId": "getPetsById",
        "produces": [
          "application/json",
          "text/html"
        ],
        "parameters": [
          {
            "x-vendor-parameter-property": {},
            "name": "petId",
            "in": "path",
            "description": "ID of pet that needs to be fetched",
            "required": true,
            "type": "array",
            "items": {
              "type": "string"
            },
            "collectionFormat": "csv"
          }
        ],
        "responses": {
          "x-vendor-operation-response-property": {},
          "200": {
            "description": "pet response",
            "schema": {
              "$ref": "Pet"
            }
          },
          "default": {
            "description": "error payload",
            "schema": {
              "$ref": "ErrorModel"
            }
          }
        }
      }
    }
  },
  "definitions": {
    "Pet": {
      "x-vendor-model-property": {},
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "tag": {
          "type": "string"
        }
      }
    },
    "ErrorModel": {
      "required": [ "code", "message" ],
      "properties": {
        "code": {
          "type": "integer",
          "format": "int32"
        },
        "message": {
          "type": "string"
        }
      }
    }
  }
}