SIGN IN SIGN UP

fix: avoid faulty duplicate detection (#893)

* fix: avoid faulty duplicate detection

bug caused by missing reflection type name for inline struct definitions, combined with an empty OperationID

* fix: resolve inline schema name collisions in the registry

Move duplicate-name handling into mapRegistry.Schema, where type
identity is already tracked via the seen set. Identical inline types
reuse the existing ref (dedup preserved), distinct anonymous types get
a numeric suffix, and named-type collisions still panic. This drops the
NameExistsInSchema addition to the public Registry interface.

---------

Co-authored-by: mcklmo <m.h98@gx.net>
Co-authored-by: Robert Thomas <31854736+wolveix@users.noreply.github.com>
M
Mcklmo committed
214a18cd8047592ac84d0b52f9945bb95c44c09c
Parent: 4e53fef
Committed by GitHub <noreply@github.com> on 7/13/2026, 8:04:09 PM