-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
[REQ-22001] Add MCP server support to apiService.mustache #22197
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
Conversation
Refactor apiService.mustache to include MCP server support and enhance operation methods.
|
thanks for the PR please follow step 3 to update the samples so as to fix https://github.com/OpenAPITools/openapi-generator/actions/runs/18679590784/job/53712868648?pr=22197 |
|
Hello @wing328 , |
|
when you've time, can you please review the build failure? |
Hello, |
|
Hello @wing328 , I have just submitted the fix. Thanks |
|
Hello @wing328, |
|
thanks again for the contribution. let's give it a try |
|
can you please review the build failure after merging this change into master? error message: not sure why the jaxrs tests were skipped in the PR (maybe due to cloudflare outage) if we cannot find a fix, we will need to revert the change via #22551 |
…ls#22197) * Add MCP server support to apiService.mustache Refactor apiService.mustache to include MCP server support and enhance operation methods. * Update samples * update samples in wsl * remove useless import when mcp is disabled --------- Co-authored-by: RL6172 <[email protected]>
Refactor apiService.mustache to include MCP server support and enhance operation methods.
The goal is to directly generate a MCP server in quarkus.
Two extensions are used :
The main intent is to transform our REST APIs as GEN-AI ready APIs.
Known Limitations
See also
An example of usage can be found here : https://github.com/thibautrety/quarkus_mcp/tree/main
PR checklist
Commit all changed files.
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*.IMPORTANT: Do NOT purge/delete any folders/files (e.g. tests) when regenerating the samples as manually written tests may be removed.
master(upcoming7.x.0minor release - breaking changes with fallbacks),8.0.x(breaking changes without fallbacks)"fixes #123"present in the PR description)