Skip to content

Add Effect v4 schema and HttpApiClient plugins#1

Closed
nmnmcc wants to merge 4 commits into
mainfrom
effect-httpapiclient
Closed

Add Effect v4 schema and HttpApiClient plugins#1
nmnmcc wants to merge 4 commits into
mainfrom
effect-httpapiclient

Conversation

@nmnmcc

@nmnmcc nmnmcc commented Jul 14, 2026

Copy link
Copy Markdown
Owner

🎯 Changes

  • add @kubb/plugin-effect for generating Effect v4 beta schemas from OpenAPI models
  • represent OpenAPI date-time values with Effect DateTime.Utc and JSON int64 values with a number-to-bigint codec
  • add @kubb/plugin-effect-httpapiclient for generating typed HttpApi, endpoint groups, clients, parameter serialization, cookies, and security layers
  • add runnable examples and regression coverage for nested references, date-time annotations, JSON int64 codecs, default responses, and security middleware

The two plugins are kept separate so schema generation can be used independently while the HttpApiClient plugin composes the generated Effect schemas into an Effect HTTP API client.

Related documentation Draft PR: kubb-labs/docs#145

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested this code locally with pnpm run test.

Additional verification:

  • pnpm --filter @kubb/plugin-effect test
  • pnpm --filter @kubb/plugin-effect typecheck
  • pnpm --filter @kubb/plugin-effect build
  • pnpm --filter @kubb/plugin-effect-httpapiclient test
  • pnpm --filter @kubb/plugin-effect-httpapiclient typecheck
  • pnpm --filter @kubb/plugin-effect-httpapiclient build
  • pnpm format
  • pnpm lint:fix

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.
  • This change is for the docs (no release).

This PR is intentionally a draft pending maintainer review.

@nmnmcc
nmnmcc force-pushed the effect-httpapiclient branch from fa39eac to 7463a12 Compare July 14, 2026 16:03
@nmnmcc

nmnmcc commented Jul 15, 2026

Copy link
Copy Markdown
Owner Author

Superseded by the Draft PR against the upstream repository: kubb-labs#696

@nmnmcc nmnmcc closed this Jul 15, 2026
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.

1 participant