Merge pull request #15851 from backstage/blam/backend-core-services/docs

docs: Writing documentation for the built in core services
This commit is contained in:
Ben Lambert
2023-01-23 14:28:54 +01:00
committed by GitHub
4 changed files with 613 additions and 10 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ export const httpRouterFactory: (
// @public (undocumented)
export interface HttpRouterFactoryOptions {
getPath(pluginId: string): string;
getPath?(pluginId: string): string;
}
// @public
@@ -27,7 +27,7 @@ export interface HttpRouterFactoryOptions {
/**
* A callback used to generate the path for each plugin, defaults to `/api/{pluginId}`.
*/
getPath(pluginId: string): string;
getPath?(pluginId: string): string;
}
/** @public */