Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Workspace] When adding a plugin (and client?), the API Manifest saves the absolute path to the OpenAPI description #4581

Closed
sebastienlevert opened this issue May 1, 2024 · 3 comments · Fixed by #4587
Assignees
Labels
type:bug A broken experience
Milestone

Comments

@sebastienlevert
Copy link
Contributor

It should be relative or teams won't be able to work with this approach.

I'm using WSL.

{
  "applicationName": "application",
  "apiDependencies": {
    "RepairsHub": {
      "apiDescriptionUrl": "/home/slevert/src/temp/ttk-copilot-demo/repairs.json",
      "apiDeploymentBaseUrl": "https://piercerepairsapi.azurewebsites.net/",
      "requests": [
        {
          "method": "GET",
          "uriTemplate": "repairs"
        }
      ],
      "extensions": {
        "x-ms-kiota-hash": "0B3853C03BF770533C685F3F00037E8D58B7E4A72492ED2C621E118098C16CA3"
      }
    }
  }
}
@github-project-automation github-project-automation bot moved this to Todo 📃 in Kiota May 1, 2024
@sebastienlevert sebastienlevert changed the title [Workspace] When adding a client, the API Manifest saves the absolute path to the OpenAPI description [Workspace] When adding a plugin (and client?), the API Manifest saves the absolute path to the OpenAPI description May 1, 2024
@baywet
Copy link
Member

baywet commented May 1, 2024

@sebastienlevert what was your current working directory (full path) and what path did you provide to the CLI to point to the description?

@sebastienlevert
Copy link
Contributor Author

My cwd was at root of my project, and the command was this

../linux-x64/kiota plugin add -d repairs.json --plugin-name "RepairsHub" --type microsoft --output appPackage

@baywet
Copy link
Member

baywet commented May 1, 2024

authored #4587

@github-project-automation github-project-automation bot moved this from In Progress 🚧 to Done ✔️ in Kiota May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug A broken experience
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants