Options accepted by the defaultPlugins function.
OptionalbaseDir?: string | nullOptional base directory for resolving the src/ folder; defaults to the parent of import.meta.dirname.
OptionalkeycloakAuth?: KeycloakAuthConfigOptional Keycloak configuration used to mark the generated /api/ OpenAPI operations as OpenID Connect–protected.
Application locals; locals.pkg is exposed as the default EJS context.
A Map of plugin names to plugin entries, suitable for passing as
the plugins field of LauncherOptions.
Builds the default plugin map for use with
launcher.Registers:
@fastify/accepts,@fastify/compress,@fastify/cors,@fastify/etag,@fastify/helmet,@fastify/view(EJS),@fastify/static,@fastify/swagger, and@fastify/swagger-ui.Synchronously reads and resolves all
$refschema files fromsrc/openapi/schemas/before building the plugin map, so@fastify/swaggerreceives a fully inlined document.