Skip to content

@effect/openapi-generator@4.0.0-beta.87

Pre-release
Pre-release

Choose a tag to compare

@effect-bot effect-bot released this 23 Jun 15:22
a2e306a

Patch Changes

  • #2469 12fcf35 Thanks @jbmusso! - Fix the generated SSE sseRequest helper to reference Schema.ConstraintDecoder instead of the no-longer-exported Schema.Decoder.

    For specs with text/event-stream responses the generator emitted a helper typed as Schema.Decoder<Type, DecodingServices>, but Schema exports that decode-only interface as ConstraintDecoder, so generated clients failed to compile ('"effect/Schema"' has no exported member named 'Decoder'). The emitted helper now uses Schema.ConstraintDecoder.

  • Updated dependencies [5a0c1a4, 1eea2ea]:

    • effect@4.0.0-beta.87
    • @effect/platform-node@4.0.0-beta.87