Skip to main content

getOpenApiSpecRoute()

Home > @backstage/backend-openapi-utils > getOpenApiSpecRoute

Given a base url for a plugin, find the given OpenAPI spec for that plugin.

Signature:

function getOpenApiSpecRoute(baseUrl: string): string;

Parameters

ParameterTypeDescription
baseUrlstringPlugin base url.

Returns:

string

OpenAPI spec route for the base url.