File: //opt/go/pkg/mod/github.com/go-openapi/
[email protected]/fixtures/fixture-1289-param.yaml
---
swagger: '2.0'
info:
title: 'fixture 1289'
description: an invalid spec but which passes the analysis stage
version: '1.0'
produces:
- application/json
paths:
'/fixture':
get:
operationId: fixtureOp
parameters:
- $ref: '#/parameters/getSomeIds'
responses:
'200':
parameters:
getSomeIds:
name: despicableMe
in: body
description: a bad parameter description
schema:
type: object
properties:
someIds:
# Wrong now
$ref: '#/definitions/someIds'
type: array
someIds:
type: string