This file is indexed.

/usr/share/gocode/src/github.com/go-openapi/loads/fixtures/yaml/resources/reusableParameters.yaml 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
swagger: '2.0'
info:
  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:
  '/pets/{id}': {get: {description: 'Returns pets based on ID', summary: 'Find pets by ID', operationId: getPetsById, parameters: [{$ref: '#/parameters/skipParam'}, {$ref: '#/parameters/limitParam'}], responses: {'200': {description: 'pet response', schema: {type: array, items: {$ref: Pet}}}, default: {description: 'error payload', schema: {$ref: ErrorModel}}}}}
parameters:
  skipParam: {name: skip, in: query, description: 'number of items to skip', required: true, type: integer, format: int32}
  limitParam: {name: limit, in: query, description: 'max records to return', required: true, type: integer, format: int32}
definitions:
  Pet: {required: [name], properties: {name: {type: string}, tag: {type: string}}}
  ErrorModel: {required: [code, message], properties: {code: {type: integer, format: int32}, message: {type: string}}}