Skip to content

hidi validate can't load unix path but transform can? #1142

Closed

Description

@baywet

Describe the bug
hidi validate -d /a/valid/unix/path.yaml will return
Could not validate the document, reason: Invalid URI: The Authority/Host could not be parsed.

yet hidi transform --cs /another/valid/path.csdl -o /some/other/path.yaml will work.

We should align how source files are loaded to get a consistent behaviour.

Activity

  1. MaggieKimani1 commented on Jan 31, 2023

    @MaggieKimani1
    Contributor

    Vincent Biret (@baywet) please provide the absolute path you're validating in the metadata repo for me to reproduce this.

  2. baywet commented on Jan 31, 2023

    @baywet
    MemberAuthor

    run is here https://github.com/microsoftgraph/msgraph-metadata/actions/runs/4019312471/jobs/6905992113
    path being passed was something like this /home/runner/work/msgraph-metadata/msgraph-metadata/openapi/v1.0/openapi.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

type:bugA broken experience

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions