Skip to content

Use openapi-hooks in example#1

Open
lucemans wants to merge 1 commit into
masterfrom
codex/improve-openapi-hooks-for-better-type-inference
Open

Use openapi-hooks in example#1
lucemans wants to merge 1 commit into
masterfrom
codex/improve-openapi-hooks-for-better-type-inference

Conversation

@lucemans
Copy link
Copy Markdown
Member

Summary

  • ignore compiled JS in examples
  • run createFetch with a base URL to avoid Node errors
  • mark the example as an ES module

Testing

  • pnpm --filter openapi-hooks build
  • pnpm --filter basic dev
  • node examples/basic/src/index.js (fails to connect but no module errors)

https://chatgpt.com/codex/tasks/task_e_68846f7d7cd0832f9e6fb21ec54cb220

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant