Closed webron closed 10 years ago
https://github.com/reverb/swagger-spec/blob/master/schemas/v2.0/schema.json#L183 (pathItem's $ref) is defined as type string which basically allows it to have anything written there.
It should be restricted to a subset of what's allowed in the pathItem definition (probably the same only without the ability for $ref so there are no hierarchical references).
Not relevant.
https://github.com/reverb/swagger-spec/blob/master/schemas/v2.0/schema.json#L183 (pathItem's $ref) is defined as type string which basically allows it to have anything written there.
It should be restricted to a subset of what's allowed in the pathItem definition (probably the same only without the ability for $ref so there are no hierarchical references).