Skip to content

Point API reference at deployed OpenAPI spec - #8

Draft
devin-ai-integration[bot] wants to merge 2 commits into
mainfrom
aakash/use-remote-openapi-spec
Draft

Point API reference at deployed OpenAPI spec#8
devin-ai-integration[bot] wants to merge 2 commits into
mainfrom
aakash/use-remote-openapi-spec

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Switch the Mintlify API reference to consume the public OpenAPI spec served by the deployed API (https://api.consensus.app/openapi.json) instead of a committed openapi.json copy. Delete the local openapi.json and update the get-started card to the new generated endpoint slug (/api-reference/search).

Merge order

  1. Deploy Consensus-NLP/common#8275 to production so https://api.consensus.app/openapi.json returns the spec.
  2. Merge this PR.

Note on preview failure

The Mintlify preview deployment on this PR will fail with Failed to fetch OpenAPI file for anchor or tab until the remote endpoint above is live. The generated page slug is /api-reference/search (from the /search operation summary) and the deprecated legacy endpoint will appear at /api-reference/quick_search.

Link to Devin session: https://app.devin.ai/sessions/0f4920c7851a4f3a99ee9061159065f3
Requested by: @aakashadesara

- Switch docs.json openapi source from openapi.json to https://api.consensus.app/openapi.json.

- Delete the now-redundant openapi.json.

- Update api-get-started.mdx search endpoint card href to /api-reference/get-search.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@mintlify

mintlify Bot commented Aug 26, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
consensus 🔴 Failed Aug 26, 2026, 9:01 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

The Mintlify page slug is derived from the OpenAPI operation summary. Since the summary is now '/search' (not 'GET /search'), the href becomes /api-reference/search.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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.

1 participant