github.com/thetreep/go-swagger@v0.0.0-20240223100711-35af64f14f01/fixtures/bugs/1472/bug_1472.yml (about)

     1  swagger: '2.0'
     2  basePath: '/'
     3  consumes:
     4    - application/json
     5  produces:
     6    - application/json
     7  host: example.com
     8  info:
     9    title: 'My'
    10    version: '1.0.0'
    11  paths:
    12    /endpoint:
    13      get:
    14        security:
    15          - opBearer: []
    16        operationId: getEndpoint
    17        tags:
    18          - ops
    19        responses:
    20          200:
    21            description: OK
    22  
    23  securityDefinitions:          
    24    opBearer:
    25      in: header
    26      name: Authorization
    27      type: apiKey
    28      x-go-name: OpBearer