add OpenAPI integration#525
Merged
Merged
Conversation
Add the integration page for the `openapi-haystack` package (OpenAPIConnector, OpenAPIServiceConnector, OpenAPIServiceToFunctions), moved out of Haystack core. The page prominently recommends the MCPTool as the modern alternative, since these are legacy components. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…CP callout) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
kacperlukawski
requested changes
Jun 23, 2026
| from haystack_integrations.components.connectors.openapi import OpenAPIConnector | ||
|
|
||
| connector = OpenAPIConnector( | ||
| openapi_spec="https://bit.ly/serperdev_openapi", |
Member
Member
Author
There was a problem hiding this comment.
yes, it works. This was created a while ago by Vladimir and points to https://gist.githubusercontent.com/vblagoje/241a000f2a77c76be6efba71d49e2856/raw/722ccc7fe6170a744afce3e3fb3a30fdd095c184/serper.json
|
|
||
| connector = OpenAPIConnector( | ||
| openapi_spec="https://bit.ly/serperdev_openapi", | ||
| credentials=Secret.from_env_var("SERPERDEV_API_KEY"), |
Member
There was a problem hiding this comment.
Is this secret going to be passed as an Authorization header? It's a bit unclear.
Member
Author
There was a problem hiding this comment.
Yes, I added a line to explain this.
I also re-ran the code and it works.
kacperlukawski
approved these changes
Jun 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

part of https://github.com/deepset-ai/haystack-private/issues/372
OpenAPI components were migrated from Haystack to core integrations, so I am creating an integration page.
Anyway, MCP is to be preferred, so I am also communicating this in this new page.