Returns true when at least one schema has been registered.
Iterates over all registered [name, schema] pairs in insertion order.
Used to emit the components.schemas section of an OpenAPI document.
Returns the component name for a given schema instance, or null if it
was not registered.
The schema builder to look up.
The registered name, or null.
Attempts to register schema in the registry.
schemaName in its introspect output, it is
silently skipped.The schema builder to register.
Collects schemas that carry an explicit component name (set via
.schemaName()) and provides a reference-based lookup used during OpenAPI spec generation to replace inline schema objects with$ref: '#/components/schemas/<name>'pointers.Conflict rule: registering two different schema instances (different object references) under the same name throws immediately. Re-registering the same instance is a no-op.
Example