Skip to content

add OpenAPI integration#525

Merged
kacperlukawski merged 3 commits into
mainfrom
openapi
Jun 23, 2026
Merged

add OpenAPI integration#525
kacperlukawski merged 3 commits into
mainfrom
openapi

Conversation

@anakin87

@anakin87 anakin87 commented Jun 19, 2026

Copy link
Copy Markdown
Member

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.

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>
@vercel

vercel Bot commented Jun 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
haystack-integrations Ready Ready Preview, Comment Jun 23, 2026 8:09am

Request Review

…CP callout)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@anakin87 anakin87 marked this pull request as ready for review June 22, 2026 14:39
@anakin87 anakin87 requested a review from a team as a code owner June 22, 2026 14:39
Comment thread integrations/openapi.md
from haystack_integrations.components.connectors.openapi import OpenAPIConnector

connector = OpenAPIConnector(
openapi_spec="https://bit.ly/serperdev_openapi",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we really use a bit.ly link? There is an intermediate step with the destination preview. I don't know if OpenAPIConnector will consume that correctly.

Image

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread integrations/openapi.md

connector = OpenAPIConnector(
openapi_spec="https://bit.ly/serperdev_openapi",
credentials=Secret.from_env_var("SERPERDEV_API_KEY"),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this secret going to be passed as an Authorization header? It's a bit unclear.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I added a line to explain this.
I also re-ran the code and it works.

@kacperlukawski kacperlukawski merged commit 30b8326 into main Jun 23, 2026
2 checks passed
@kacperlukawski kacperlukawski deleted the openapi branch June 23, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants