Skip to content

Is the use of $ref compliant with OpenAPI 3.0.3 specification? #457

@davidmoten

Description

@davidmoten

I don't see mention of support in the OpenAPI specification 3.0.3 or 3.1.0 for using $ref at the levels shown below in this top level index.yml:

paths:
$ref: "./paths/_index.yml"
components:
parameters:
$ref: "./parameters/_index.yml"
schemas:
$ref: "./schemas/_index.yml"

The reason I raise this is that I don't see these fields available in the results from parsing your specification with the java artifact io.swagger.parser.v3:swagger-parser:2.1.13 and after checking the specification I'm supposing your yaml specification is not compliant with the standard. Is that the case?

Metadata

Metadata

Assignees

Labels

triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions