-
Notifications
You must be signed in to change notification settings - Fork 307
[Bug]: MCPProxy Github OpenAPI Spec Parsing Error #1655
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
Comments
Original description ends with
When I added spaces or dot at the end of description in template, this issue is fixed. Let me know if you want to push this fix or apply a different fix: templates/main.jinja2:
updated as:
|
@davorrunje @sternakt Getting this error after the parse fix:
|
Hi @marufaytekin The next bug you are encountering is related to the way discriminators are handled in pydantic and the definition of As far I understand OPenAPI specification, content directory cannot be used in
Right now, I have managed to parse the GitHub API by manually changing the definition of
But this should actually be fixed in the datamodel-code-generator so that it supports these cases. |
Describe the bug
MCPProxy create is failing with a JSON parse error to create mcp server from github OpenAPI Spec:
cc: @davorrunje @sternakt
Steps to reproduce
Run MCPProxy to create MCP Server for the following Github API:
Error:
Model Used
No response
Expected Behavior
No response
Screenshots and logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: