Open
Description
Reproduction here
OpenapiFirst#load
throws an error on specs that include an OperationObject
with a ReferenceObject
as a parameter, e.g.:
# spec/parameters.yaml
id:
name: id
in: path
required: true
schema:
type: string
# spec.yaml
paths:
/test/{id}:
get:
operationId: test
summary: example test
parameters:
# this ref breaks load:
- $ref: spec/parameters.yaml#/id
According to the spec for OperationObject
s this should be valid and it works if the openapi
version is set to "3.1.0"
.