Skip to content

kiota-lock.json contains absolute path in descriptionLocation #3151

Closed

Description

When using the command line, if code is generated with

dotnet kiota --openapi ./my-api.json

Then the lock file will contain the absolute path to my-api.json.

This is not portable in collaborative environments, where people might check out source code in different locations.

If descriptionLocation is a file, it should be stored as a relative path from the kiota-lock.json, so that dotnet kiota update works for everyone.

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

Metadata

Assignees

Labels

WIPgeneratorIssues or improvements relater to generation capabilities.help wantedIssue caused by core project dependency modules or librarytype:bugA broken experience

Type

No type

Projects

  • Status

    Done ✔️

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions