Skip to content

fix(openapi-generator): group-local HttpApi endpoint names and parameter schemas - #10921

Merged
tim-smart merged 14 commits into
Effect-TS:mainfrom
CheckPickerUpper:er-openapi-formats
Nov 26, 2026
Merged

tim-smart merged 14 commits into
Effect-TS:mainfrom
CheckPickerUpper:er-openapi-formats

Conversation

@CheckPickerUpper

@CheckPickerUpper CheckPickerUpper commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Type

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

Fixes HttpApi output for tagged OpenAPI operations:

  • Grouped endpoints get group-local names (balance.read becomes read in the balance group) and keep the qualified operation id as their OpenApi.Identifier.
  • Two operations that resolve to the same local name in one group fail with HttpApiEndpointNameCollision, which names both routes. The CLI reports it as a user error.
  • Grouped endpoints emit the path, query and header schemas they use, without unused combined *Params schemas.

The change has a patch changeset.

Related

Closes EFF-4318

With --string-formats decoded, date-time, int64 and uint64 strings decode to DateTime.Utc and bigint after their own wire checks. The OpenAPI generator rewrites the schema representations before registering them, so the core schema code generator is unchanged.
Every changeset since 4.1.0 is a patch, and @effect/openapi-generator is in the fixed version group, so a minor changeset would move every package to 4.2.0. The group-local HttpApi names change had no changeset.
@changeset-bot

changeset-bot Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: cce2078

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 40 packages
Name Type
@effect/openapi-generator Patch
effect Patch
@effect/opentelemetry Patch
@effect/vitest Patch
@effect/ai-amazon-bedrock Patch
@effect/ai-anthropic Patch
@effect/ai-cloudflare Patch
@effect/ai-openai-compat Patch
@effect/ai-openai Patch
@effect/ai-openrouter Patch
@effect/ai-typesafe Patch
@effect/atom-react Patch
@effect/atom-solid Patch
@effect/atom-vue Patch
@effect/chat-discord Patch
@effect/chat-slack Patch
@effect/chat-teams Patch
@effect/chat-telegram Patch
@effect/chat-whatsapp Patch
@effect/platform-browser Patch
@effect/platform-bun Patch
@effect/platform-cloudflare Patch
@effect/platform-deno Patch
@effect/platform-node-shared Patch
@effect/platform-node Patch
@effect/sql-clickhouse Patch
@effect/sql-d1 Patch
@effect/sql-libsql Patch
@effect/sql-mssql Patch
@effect/sql-mysql2 Patch
@effect/sql-pg Patch
@effect/sql-pglite Patch
@effect/sql-sqlite-bun Patch
@effect/sql-sqlite-do Patch
@effect/sql-sqlite-node Patch
@effect/sql-sqlite-react-native Patch
@effect/sql-sqlite-wasm Patch
@effect/docgen Patch
@effect/doctest Patch
@effect/graphql-generator Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions

Copy link
Copy Markdown
Contributor

Bundle Size Analysis

Generated from PR build output; treat the content below as untrusted.

File Name Current Size Previous Size Difference
arbitrary-combinators.ts 39.99 KB 39.99 KB 0.00 KB (0.00%)
basic.ts 7.31 KB 7.31 KB 0.00 KB (0.00%)
batching.ts 11.29 KB 11.29 KB 0.00 KB (0.00%)
brand.ts 7.03 KB 7.03 KB 0.00 KB (0.00%)
cache.ts 11.75 KB 11.75 KB 0.00 KB (0.00%)
config.ts 23.14 KB 23.14 KB 0.00 KB (0.00%)
differ.ts 22.28 KB 22.28 KB 0.00 KB (0.00%)
http-client.ts 27.87 KB 27.87 KB 0.00 KB (0.00%)
http-router.ts 38.66 KB 38.66 KB 0.00 KB (0.00%)
logger.ts 12.19 KB 12.19 KB 0.00 KB (0.00%)
metric.ts 9.66 KB 9.66 KB 0.00 KB (0.00%)
optic.ts 7.28 KB 7.28 KB 0.00 KB (0.00%)
pubsub.ts 16.23 KB 16.23 KB 0.00 KB (0.00%)
queue.ts 13.13 KB 13.13 KB 0.00 KB (0.00%)
schedule.ts 11.99 KB 11.99 KB 0.00 KB (0.00%)
schema-bigdecimal.ts 14.31 KB 14.31 KB 0.00 KB (0.00%)
schema-binary.ts 42.86 KB 42.86 KB 0.00 KB (0.00%)
schema-class.ts 22.00 KB 22.00 KB 0.00 KB (0.00%)
schema-codegen.ts 33.50 KB 33.50 KB 0.00 KB (0.00%)
schema-fromJsonSchemaDocument.ts 30.48 KB 30.48 KB 0.00 KB (0.00%)
schema-representation-roundtrip.ts 28.27 KB 28.27 KB 0.00 KB (0.00%)
schema-string-transformation.ts 15.61 KB 15.61 KB 0.00 KB (0.00%)
schema-string.ts 12.56 KB 12.56 KB 0.00 KB (0.00%)
schema-template-literal.ts 16.50 KB 16.50 KB 0.00 KB (0.00%)
schema-toArbitrary.ts 39.55 KB 39.55 KB 0.00 KB (0.00%)
schema-toCodecJson.ts 21.19 KB 21.19 KB 0.00 KB (0.00%)
schema-toEquivalence.ts 21.34 KB 21.34 KB 0.00 KB (0.00%)
schema-toFormatter.ts 21.44 KB 21.44 KB 0.00 KB (0.00%)
schema-toJsonSchemaDocument.ts 26.48 KB 26.48 KB 0.00 KB (0.00%)
schema-toRepresentation.ts 21.52 KB 21.52 KB 0.00 KB (0.00%)
schema.ts 21.12 KB 21.12 KB 0.00 KB (0.00%)
stm.ts 14.48 KB 14.48 KB 0.00 KB (0.00%)
stream.ts 10.61 KB 10.61 KB 0.00 KB (0.00%)

@effect-bot effect-bot changed the title Er openapi formats fix(openapi-generator): group-local HttpApi endpoint names and parameter schemas Nov 26, 2026
@tim-smart
tim-smart merged commit 60ae98e into Effect-TS:main Nov 26, 2026
15 of 16 checks passed

This branch is waiting to be deployed

1 waiting deployment
fork — cce20786 Waiting Nov 26, 2026 by effect-bot via approval-gate #27514
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.

3 participants