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

feat: OpenApi Parser multiple success responses, error response descriptions, better examples #1924

Merged
merged 31 commits into from
Dec 20, 2024

Conversation

RohinBhargava
Copy link
Member

Short description of the changes made

  • Focuses heavily on examples, with multiple success/failure responses
  • Changes FDR EndpointDefinition to accept multiple requests and responses, now
  • Prefers first request and response in UI for now
  • Plumbs redoc examples
  • Ensures enums are plumbed to errors

What's not included:

  • Updated UI
  • Formats and Regexes
  • Allowing for curl snippet to be processed

What was the motivation & context behind this PR?

  • Customer Go-Live

How has this PR been tested?

Screen.Recording.2024-12-19.at.4.32.56.AM.mov

Copy link

Copy link

@RohinBhargava RohinBhargava marked this pull request as ready for review December 20, 2024 18:11
Copy link

@RohinBhargava RohinBhargava enabled auto-merge (squash) December 20, 2024 18:31
Copy link

Copy link

github-actions bot commented Dec 20, 2024

📦 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

Copy link

PR Preview

Copy link

github-actions bot commented Dec 20, 2024

Playwright test results

failed  1 failed
passed  97 passed
flaky  1 flaky
skipped  4 skipped

Details

stats  103 tests across 10 suites
duration  1 minute, 36 seconds
commit  3da43f1

Failed tests

chromium › skew-protection/index.test.ts › should contain ?dpl= or x-deployment-id header on all scripts and prefetch requests

Flaky tests

chromium › smoke/favicon.spec.ts › Check if favicon exists and URL does not return 404 for dev.documentation.sayari.com

Skipped tests

chromium › posthog.spec.ts › Posthog loads successfully
chromium › proxy.spec.ts › multipart-form upload
chromium › proxy.spec.ts › json request
chromium › websockets/websocket.spec.ts › websocket test

@RohinBhargava RohinBhargava merged commit 3b7a74a into main Dec 20, 2024
16 of 19 checks passed
@RohinBhargava RohinBhargava deleted the rohin/multiple-success-responses-rebase branch December 20, 2024 19:56
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