The discovery document is a pure function of the realm row (name, PAR
policy, registration toggle, authorization-details types) and the active
signing-key set (advertised algorithms), yet was rebuilt — a dozen URL
parses plus a full struct serialization — on every one of the hottest
requests an OIDC provider serves.
OpenAPI assembly for endpoints owned by issuerd-server: the account console
API, the public protocol helpers (login context, token endpoint), and the
internal first-party SPA auth API. full_openapi merges these into the
admin API document so the emitted spec covers every endpoint the web
clients call.
Caches the fully rendered userinfo JSON body so a warm-cache request
skips user/role/catalog reads, mapper evaluation, and response-tree
building entirely — the logical end-point of the claims read-model
approach (claims_cache.rs).