Skip to content

External file ref breaks after 7.14.0 #2615

@ronderksen

Description

@ronderksen

I have a spec file that I load from a server, that uses a secondary file to get a ref, e.g.:

  - $ref: 'SharedComponents.yml/#/components/schemas/Page'

Up to 7.13.0, Orval would turn this into a directory, e.g. SharedComponents.yml-/page.ts

Starting with 7.14.0, this is now changed to ttp:--localhost:8106-missed-transport-capacity-openapi-SharedComponents.yml-/page.ts, which is not a valid path on Windows machines.

I think it's caused by PR #2439. Could you please see if this can be fixed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions