Skip to content

updates to help sdk generation #517

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

Merged
merged 2 commits into from
May 10, 2024
Merged

updates to help sdk generation #517

merged 2 commits into from
May 10, 2024

Conversation

farhanW3
Copy link
Contributor

@farhanW3 farhanW3 commented May 10, 2024

PR-Codex overview

The focus of this PR is to enhance the generate-sdk.ts script by fetching an OpenAPI JSON from a URL, saving it to a file, and updating the generated SDK code.

Detailed summary

  • Added fetching OpenAPI JSON from a URL
  • Saved JSON response to a file in dist directory
  • Updated SDK generation process with the fetched JSON
  • Renamed Engine class in generated code to EngineLogic
  • Extended Engine class with constructor logic
  • Improved error handling with error logging and process termination

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

zeet-co bot commented May 10, 2024

We're building your pull request over on Zeet.
Click me for more info about your build and deployment.
Once built, this branch can be tested at: https://web3-api-akbv-fk-update-publish.chainsaw-dev.zeet.app before merging 😉

@farhanW3 farhanW3 merged commit 55b5ecd into main May 10, 2024
4 of 5 checks passed
@farhanW3 farhanW3 deleted the fk/update-publish branch May 10, 2024 00:34
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