fix api report

Signed-off-by: Aramis Sennyey <aramiss@spotify.com>
This commit is contained in:
Aramis Sennyey
2023-09-11 11:42:15 -04:00
parent 785fb1ea75
commit 51bd64ee5e
3 changed files with 29 additions and 2 deletions
+23
View File
@@ -0,0 +1,23 @@
/*
* Copyright 2023 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface Config {
openapi?: {
/**
* A list of plugins, whose OpenAPI specs you want to collate in `InternalOpenApiDocumentationProvider`.
*/
plugins: string[];
};
}
+3 -1
View File
@@ -34,8 +34,10 @@
"supertest": "^6.1.3"
},
"files": [
"dist"
"dist",
"config.d.ts"
],
"configSchema": "config.d.ts",
"dependencies": {
"@backstage/backend-plugin-api": "workspace:^",
"@backstage/config": "workspace:^",
@@ -6,7 +6,9 @@
import { BackendFeature } from '@backstage/backend-plugin-api';
// @public (undocumented)
export const catalogModuleInternalOpenApiSpec: () => BackendFeature;
const catalogModuleInternalOpenApiSpec: () => BackendFeature;
export { catalogModuleInternalOpenApiSpec };
export default catalogModuleInternalOpenApiSpec;
// @public (undocumented)
export type MetaApiDocsPluginOptions = {