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
Parameter |
Type |
Description |
---|---|---|
baseUrl |
string |
Plugin base url. |
string
OpenAPI spec route for the base url.