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(cli): merge generated snippets from IR into OpenApi v2 parser result #5628

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

Conversation

RohinBhargava
Copy link
Member

Description

Merges SDK snippets generated by IR path into result of OpenApi v2 parser for cool renders!

Changes Made

  • Adds a temporary IR conversion to generate snippets
  • Adds a temporary merging closure with functions

Testing

Generated sdk snippets for customer spec

  • Manual testing completed

@RohinBhargava RohinBhargava marked this pull request as ready for review January 16, 2025 16:26
Copy link

github-actions bot commented Jan 16, 2025

Copy link
Member

@dsinghvi dsinghvi left a comment

Choose a reason for hiding this comment

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

@RohinBhargava how are you planning to add tests for this? I think it would be worth running all of the OpenAPI tests with this and snapshotting FdrLatest

@RohinBhargava RohinBhargava changed the title feat: merge generated snippets from IR into OpenApi v2 parser result feat(cli): merge generated snippets from IR into OpenApi v2 parser result Jan 17, 2025
@RohinBhargava
Copy link
Member Author

@RohinBhargava how are you planning to add tests for this? I think it would be worth running all of the OpenAPI tests with this and snapshotting FdrLatest

Unfortunately, we're running into the fdr import issue as previously with the snapshot tests. Have created a bunch of fixtures on platform side to address this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants