5.114.1
(fix): Scope the namespaced-errors OpenAPI setting to the spec that enables it, and only honor an explicit
x-fern-sdk-namespace on the response object. Previously enabling the setting on one spec applied it to
every spec in the API, and errors whose body schema lived in a namespace were moved into that namespace.
5.114.0
(feat): Add the namespaced-errors OpenAPI setting (default false). When enabled, an error whose
response object (components.responses[...]) or body schema carries x-fern-sdk-namespace is
declared in, and its shared-error conflict detection is scoped to, that namespace instead of the
endpoint’s. This lets each namespace get its own typed TooManyRequestsError etc. while endpoints
and other types stay at the root.
(fix): Fix object schema equality in the OpenAPI importer: two structurally identical inline object
schemas were never considered equal, so a shared components.responses entry with an inline body
referenced by several endpoints collapsed the shared error to unknown.
5.113.3
(fix): Revert the namespace-scoped shared-error collapse (#17619) and the case-insensitive namespace/tag flattening
(#17643) in the OpenAPI importer. Shared errors are again compared API-wide by status code, and an operation tag
that only matches the spec namespace case-insensitively is again treated as a sub-group.