Register every catalog route on the app, in one encapsulated plugin whose validator, serializer and error handler don't affect the rest of the app.
Fastify app.
The catalog.
One handler per entry name.
Validation error body and response validation mode.
Resolves when the routes are registered.
Auth isn't enforced here: register the component's auth hook on the root app before calling this, so it applies to the catalog routes.
Register every catalog route on the app, in one encapsulated plugin whose validator, serializer and error handler don't affect the rest of the app.