Skip to content

[BUG] References inside Referenced files do not work #2412

@TruthNZ

Description

@TruthNZ

Sample Project:
https://github.com/TruthNZ/OpenAPICodegenTest/tree/master/RelativeReferenceError

Cannot run mvn generate-sources, I get the error:
-Unable to load RELATIVE ref: ../schemas/Path1Request.yml path: C:\Development\OpenAPICodeGenTest\RelativeReferenceError\src\main\resources\api

Yet I can validate and review the API fine - at least using OpenAPI Designer in VS Code.

It looks like the direct references in the API (RelativeReferenceError.yml) works fine, but any further references in those referenced files do not.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions