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

Kiota will not add reference-id in apiplugin.json according to "x-ai-runtimes" property generated by TypeSpec #6222

Open
KennethBWSong opened this issue Mar 4, 2025 · 0 comments
Labels
enhancement New feature or request type:enhancement Enhancement request targeting an existing experience

Comments

@KennethBWSong
Copy link

What are you generating using Kiota, clients or plugins?

Kiota plugin

In what context or format are you using Kiota?

Source Build

Client library/SDK language

None

Describe the bug

We are trying to integrate TypeSpec and Kiota. We found that Kiota will not use the "x-ai-runtimes" property in the OpenApi spec generated by TypeSpec to update runtimes.auth.reference_id in apiplugin.json file.

Expected behavior

Kiota should update the reference_id with values in "x-ai-runtimes" property.

How to reproduce

  1. Compile a tsp file with auth
  2. Run kiota plugin add ... to generate apiplugin.json

Open API description file

No response

Kiota Version

1.23.0+e148ba500009faf72a57883f905e1ca922add0e2

Latest Kiota version known to work for scenario above?(Not required)

No response

Known Workarounds

No response

Configuration

No response

Debug output

Click to expand log ```
</details>


### Other information

_No response_
@KennethBWSong KennethBWSong added status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience labels Mar 4, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage 🔍 in Kiota Mar 4, 2025
@baywet baywet added enhancement New feature or request type:enhancement Enhancement request targeting an existing experience and removed type:bug A broken experience status:waiting-for-triage An issue that is yet to be reviewed or assigned labels Mar 4, 2025
@baywet baywet moved this from Needs Triage 🔍 to New📃 in Kiota Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request type:enhancement Enhancement request targeting an existing experience
Projects
Status: New📃
Development

No branches or pull requests

2 participants