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

Runtime: Support multiple runtime elements #6140

Open
thewahome opened this issue Feb 12, 2025 · 0 comments
Open

Runtime: Support multiple runtime elements #6140

thewahome opened this issue Feb 12, 2025 · 0 comments
Labels
status:waiting-for-triage An issue that is yet to be reviewed or assigned type:feature New experience request

Comments

@thewahome
Copy link
Contributor

thewahome commented Feb 12, 2025

Is your feature request related to a problem? Please describe the problem.

Multiple runtimes are needed to support multiple scenarios built on a single TypeSpec file that will emit multiple OAS files. We need separate OAS files to support more than one functions/scenarios built on the same endpoint.

Describe the solution you'd like

Since Typespec emits multiple OASs, Kiota should have the ability to accept multiple descriptions and add them to the same plugin .

Kiota should organize multiple GET, PUT, POST, etc... methods as necessary so no two OpenApi files define more than one method type per OpenApi file. In other words, only one METHOD type per file per endpoint, but a single file can have a GET, PUT, POST, etc....

Additional context

The Typespec issue referenced is: https://github.com/microsoft/typespec-copilot-skills/issues/103

Acceptance Criteria

  • Kiota can accept more than one OAS
  • Kiota should use the multiple OAS files to generate a plugin by populating multiple runtime elements
@thewahome thewahome added status:waiting-for-triage An issue that is yet to be reviewed or assigned type:feature New experience request labels Feb 12, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage 🔍 in Kiota Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:waiting-for-triage An issue that is yet to be reviewed or assigned type:feature New experience request
Projects
Status: Needs Triage 🔍
Development

No branches or pull requests

1 participant