catalog-backend-module-backstage-openapi: move over and tweak config schema

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-10-24 10:50:08 +02:00
parent 28fa763ba0
commit f981d5edcf
4 changed files with 18 additions and 10 deletions
-23
View File
@@ -1,23 +0,0 @@
/*
* 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[];
};
}
+1 -3
View File
@@ -34,10 +34,8 @@
"supertest": "^6.1.3"
},
"files": [
"dist",
"config.d.ts"
"dist"
],
"configSchema": "config.d.ts",
"dependencies": {
"@backstage/backend-plugin-api": "workspace:^",
"@backstage/config": "workspace:^",