--- swagger: '2.0' info: title: cannot expand schemes: - http basePath: /api consumes: - application/json produces: - application/json parameters: someWhere: name: someWhere in: body required: true schema: type: integer paths: /common: get: operationId: commonGet summary: here to test path collisons responses: '200': description: OK schema: $ref: "nowhere.yml#/definitions/foo"