Skip to content
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

fix(openrpc): store protocol on each endpoint and use that to generat… #2047

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

dsinghvi
Copy link
Member

Short description of the changes made

Each endpoint in the API Reference now stores the protocol it is associated with (i.e. REST, OpenRPC). This metadata can be used in several ways but the first usecase is for generating accurate curl snippets.

What was the motivation & context behind this PR?

Customer demand.

How has this PR been tested?

Unit tests.

@dsinghvi dsinghvi marked this pull request as ready for review January 22, 2025 16:38
Copy link

vercel bot commented Jan 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
rbac.ferndocs.com ❌ Failed (Inspect) Jan 22, 2025 4:38pm
1 Skipped Deployment
Name Status Preview Updated (UTC)
fern-shell ⬜️ Ignored (Inspect) Jan 22, 2025 4:38pm

@dsinghvi dsinghvi had a problem deploying to Preview - app.buildwithfern.com January 22, 2025 16:39 — with GitHub Actions Error
@dsinghvi dsinghvi had a problem deploying to Preview - app-dev.buildwithfern.com January 22, 2025 16:39 — with GitHub Actions Error
Copy link

Copy link

Copy link

Copy link

github-actions bot commented Jan 22, 2025

📦 Next.js Bundle Analysis for fern-platform-monorepo

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

Copy link

github-actions bot commented Jan 22, 2025

PR Preview

Copy link

github-actions bot commented Jan 22, 2025

Playwright test results

passed  99 passed
skipped  2 skipped

Details

stats  101 tests across 9 suites
duration  55.8 seconds
commit  925716e

Skipped tests

chromium › posthog.spec.ts › Posthog loads successfully
chromium › websockets/websocket.spec.ts › websocket test

Copy link

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.

3 participants