DynamicPluginsSchemasOptions.schemaLocator
Home > @backstage/backend-dynamic-feature-service > DynamicPluginsSchemasOptions > schemaLocator
Function that returns the path to the Json schema file for a given scanned plugin package. The path is either absolute, or relative to the plugin package root directory.
Default behavior is to look for the dist/configSchema.json relative path.
Signature:
schemaLocator?: (pluginPackage: ScannedPluginPackage) => string;