This file is indexed.

/usr/share/gocode/src/github.com/go-openapi/loads/fixtures/yaml/resources/operations/stringPathAndBoolQueryParamResource.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
description: 'Returns a pet based on ID'
summary: 'Find pet by ID'
operationId: getPetsById
produces:
  - application/json
  - text/html
parameters:
  - {name: petId, in: path, description: 'ID of pet that needs to be fetched', required: true, type: integer, format: int64}
  - {name: includeDetails, in: query, description: 'include details in response', required: true, type: boolean}
responses:
  '200': {description: 'a pet to be returned', schema: {$ref: Pet}}
  default: {description: 'Unexpected error', schema: {$ref: ErrorModel}}