From cb60e97bd8c4890ab125fe6967c3ff6b7566ba7c Mon Sep 17 00:00:00 2001 From: Aramis Date: Wed, 17 Jan 2024 14:28:45 -0500 Subject: [PATCH 1/6] feat(openapi-tooling): Add support for oneOf. Signed-off-by: Aramis --- .../src/commands/openapi/constants.ts | 1 + .../templates/typescript-backstage.yaml | 14 +++++++ .../typescript-backstage/licenseInfo.mustache | 12 ++++++ .../typescript-backstage/model.mustache | 41 ++++--------------- .../typescript-backstage/modelAlias.mustache | 1 + .../typescript-backstage/modelEnum.mustache | 20 +++++++++ .../modelGeneric.mustache | 38 +++++++++++++++++ .../modelGenericAdditionalProperties.mustache | 5 +++ .../modelGenericEnums.mustache | 30 ++++++++++++++ .../typescript-backstage/modelOneOf.mustache | 14 +++++++ .../modelTaggedUnion.mustache | 21 ++++++++++ 11 files changed, 163 insertions(+), 34 deletions(-) create mode 100644 packages/repo-tools/templates/typescript-backstage/licenseInfo.mustache create mode 100644 packages/repo-tools/templates/typescript-backstage/modelAlias.mustache create mode 100644 packages/repo-tools/templates/typescript-backstage/modelEnum.mustache create mode 100644 packages/repo-tools/templates/typescript-backstage/modelGeneric.mustache create mode 100644 packages/repo-tools/templates/typescript-backstage/modelGenericAdditionalProperties.mustache create mode 100644 packages/repo-tools/templates/typescript-backstage/modelGenericEnums.mustache create mode 100644 packages/repo-tools/templates/typescript-backstage/modelOneOf.mustache create mode 100644 packages/repo-tools/templates/typescript-backstage/modelTaggedUnion.mustache diff --git a/packages/repo-tools/src/commands/openapi/constants.ts b/packages/repo-tools/src/commands/openapi/constants.ts index 2e7a57522a..4936a5aee7 100644 --- a/packages/repo-tools/src/commands/openapi/constants.ts +++ b/packages/repo-tools/src/commands/openapi/constants.ts @@ -29,6 +29,7 @@ export const OUTPUT_PATH = 'src/generated'; export const OPENAPI_IGNORE_FILES = [ // Get rid of the default files. '*.md', + '*.mustache', // The rest of these have to be explicit, otherwise they get added if this was a *.* 'apis/baseapi.ts', 'apis/exception.ts', diff --git a/packages/repo-tools/templates/typescript-backstage.yaml b/packages/repo-tools/templates/typescript-backstage.yaml index b2b068856d..a2cb61c121 100644 --- a/packages/repo-tools/templates/typescript-backstage.yaml +++ b/packages/repo-tools/templates/typescript-backstage.yaml @@ -8,6 +8,20 @@ files: model.mustache: templateType: Model destinationFilename: .model.ts + modelGeneric.mustache: + templateType: SupportingFiles + modelOneOf.mustache: + templateType: SupportingFiles + modelGenericAdditionalProperties.mustache: + templateType: SupportingFiles + modelGenericEnums.mustache: + templateType: SupportingFiles + modelAlias.mustache: + templateType: SupportingFiles + modelEnum.mustache: + templateType: SupportingFiles + modelTaggedUnion.mustache: + templateType: SupportingFiles models/models_all.mustache: templateType: SupportingFiles destinationFilename: models/index.ts diff --git a/packages/repo-tools/templates/typescript-backstage/licenseInfo.mustache b/packages/repo-tools/templates/typescript-backstage/licenseInfo.mustache new file mode 100644 index 0000000000..db559aacf9 --- /dev/null +++ b/packages/repo-tools/templates/typescript-backstage/licenseInfo.mustache @@ -0,0 +1,12 @@ + +/** + * {{{appName}}} + * {{{appDescription}}} + * + * {{#version}}The version of the OpenAPI document: {{{.}}}{{/version}} + * {{#infoEmail}}Contact: {{{.}}}{{/infoEmail}} + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ \ No newline at end of file diff --git a/packages/repo-tools/templates/typescript-backstage/model.mustache b/packages/repo-tools/templates/typescript-backstage/model.mustache index 1f288380e0..77f186dd5f 100644 --- a/packages/repo-tools/templates/typescript-backstage/model.mustache +++ b/packages/repo-tools/templates/typescript-backstage/model.mustache @@ -1,43 +1,16 @@ -// - +{{>licenseInfo}} {{#models}} {{#model}} {{#tsImports}} -import { {{classname}} } from '{{filename}}.model{{importFileExtension}}'; +import { {{classname}} } from '{{filename}}.model'; {{/tsImports}} + {{#description}} /** -* {{{.}}} -*/ + * {{{.}}} + */ {{/description}} -{{^isEnum}} -export interface {{classname}} { -{{#additionalPropertiesType}} - [key: string]: {{{additionalPropertiesType}}}; -{{/additionalPropertiesType}} -{{#vars}} -{{#description}} - /** - * {{{.}}} - */ -{{/description}} - '{{name}}'{{^required}}?{{/required}}: {{#isEnum}}{{{datatypeWithEnum}}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{/isEnum}}{{#isNullable}} | null{{/isNullable}}; -{{/vars}} -} - -{{#hasEnums}} - -{{#vars}} -{{#isEnum}} -export type {{classname}}{{enumName}} ={{#allowableValues}}{{#values}} "{{.}}" {{^-last}}|{{/-last}}{{/values}}{{/allowableValues}}; -{{/isEnum}} -{{/vars}} - -{{/hasEnums}} -{{/isEnum}} -{{#isEnum}} -export type {{classname}} ={{#allowableValues}}{{#values}} "{{.}}" {{^-last}}|{{/-last}}{{/values}}{{/allowableValues}}; -{{/isEnum}} +{{#isEnum}}{{>modelEnum}}{{/isEnum}}{{^isEnum}}{{#isAlias}}{{>modelAlias}}{{/isAlias}}{{^isAlias}}{{#taggedUnions}}{{>modelTaggedUnion}}{{/taggedUnions}}{{^taggedUnions}}{{#oneOf}}{{#-first}}{{>modelOneOf}}{{/-first}}{{/oneOf}}{{^oneOf}}{{>modelGeneric}}{{/oneOf}}{{/taggedUnions}}{{/isAlias}}{{/isEnum}} {{/model}} -{{/models}} \ No newline at end of file +{{/models}} diff --git a/packages/repo-tools/templates/typescript-backstage/modelAlias.mustache b/packages/repo-tools/templates/typescript-backstage/modelAlias.mustache new file mode 100644 index 0000000000..c1c6bf7a5d --- /dev/null +++ b/packages/repo-tools/templates/typescript-backstage/modelAlias.mustache @@ -0,0 +1 @@ +export type {{classname}} = {{dataType}}; \ No newline at end of file diff --git a/packages/repo-tools/templates/typescript-backstage/modelEnum.mustache b/packages/repo-tools/templates/typescript-backstage/modelEnum.mustache new file mode 100644 index 0000000000..7a7d2299e1 --- /dev/null +++ b/packages/repo-tools/templates/typescript-backstage/modelEnum.mustache @@ -0,0 +1,20 @@ +{{#stringEnums}} +export enum {{classname}} { +{{#allowableValues}} +{{#enumVars}} + {{name}} = {{{value}}}{{^-last}},{{/-last}} +{{/enumVars}} +{{/allowableValues}} +} +{{/stringEnums}} +{{^stringEnums}} +export type {{classname}} = {{#allowableValues}}{{#enumVars}}{{{value}}}{{^-last}} | {{/-last}}{{/enumVars}}{{/allowableValues}}; + +export const {{classname}} = { +{{#allowableValues}} +{{#enumVars}} + {{name}}: {{{value}}} as {{classname}}{{^-last}},{{/-last}} +{{/enumVars}} +{{/allowableValues}} +}; +{{/stringEnums}} diff --git a/packages/repo-tools/templates/typescript-backstage/modelGeneric.mustache b/packages/repo-tools/templates/typescript-backstage/modelGeneric.mustache new file mode 100644 index 0000000000..67954c0378 --- /dev/null +++ b/packages/repo-tools/templates/typescript-backstage/modelGeneric.mustache @@ -0,0 +1,38 @@ +{{#models}} +{{#model}} + +{{#description}} +/** +* {{{.}}} +*/ +{{/description}} +{{^isEnum}} +export interface {{classname}} { +{{#additionalPropertiesType}} + [key: string]: {{{additionalPropertiesType}}}; +{{/additionalPropertiesType}} +{{#vars}} +{{#description}} + /** + * {{{.}}} + */ +{{/description}} + '{{name}}'{{^required}}?{{/required}}: {{#isEnum}}{{{datatypeWithEnum}}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{/isEnum}}{{#isNullable}} | null{{/isNullable}}; +{{/vars}} +} + +{{#hasEnums}} + +{{#vars}} +{{#isEnum}} +export type {{classname}}{{enumName}} ={{#allowableValues}}{{#values}} "{{.}}" {{^-last}}|{{/-last}}{{/values}}{{/allowableValues}}; +{{/isEnum}} +{{/vars}} + +{{/hasEnums}} +{{/isEnum}} +{{#isEnum}} +export type {{classname}} ={{#allowableValues}}{{#values}} "{{.}}" {{^-last}}|{{/-last}}{{/values}}{{/allowableValues}}; +{{/isEnum}} +{{/model}} +{{/models}} \ No newline at end of file diff --git a/packages/repo-tools/templates/typescript-backstage/modelGenericAdditionalProperties.mustache b/packages/repo-tools/templates/typescript-backstage/modelGenericAdditionalProperties.mustache new file mode 100644 index 0000000000..e6499ce9d6 --- /dev/null +++ b/packages/repo-tools/templates/typescript-backstage/modelGenericAdditionalProperties.mustache @@ -0,0 +1,5 @@ +{{#additionalPropertiesType}} + + [key: string]: {{{additionalPropertiesType}}}{{#hasVars}} | any{{/hasVars}}; + +{{/additionalPropertiesType}} \ No newline at end of file diff --git a/packages/repo-tools/templates/typescript-backstage/modelGenericEnums.mustache b/packages/repo-tools/templates/typescript-backstage/modelGenericEnums.mustache new file mode 100644 index 0000000000..a824e55ec5 --- /dev/null +++ b/packages/repo-tools/templates/typescript-backstage/modelGenericEnums.mustache @@ -0,0 +1,30 @@ +{{#hasEnums}} + +{{^stringEnums}} +export namespace {{classname}} { +{{/stringEnums}} +{{#vars}} + {{#isEnum}} +{{#stringEnums}} +export enum {{classname}}{{enumName}} { +{{#allowableValues}} +{{#enumVars}} + {{name}} = {{{value}}}{{^-last}},{{/-last}} +{{/enumVars}} +{{/allowableValues}} +}; +{{/stringEnums}} +{{^stringEnums}} + export type {{enumName}} = {{#allowableValues}}{{#enumVars}}{{{value}}}{{^-last}} | {{/-last}}{{/enumVars}}{{/allowableValues}}; + export const {{enumName}} = { + {{#allowableValues}} + {{#enumVars}} + {{name}}: {{{value}}} as {{enumName}}{{^-last}},{{/-last}} + {{/enumVars}} + {{/allowableValues}} + }; +{{/stringEnums}} + {{/isEnum}} +{{/vars}} +{{^stringEnums}}}{{/stringEnums}} +{{/hasEnums}} \ No newline at end of file diff --git a/packages/repo-tools/templates/typescript-backstage/modelOneOf.mustache b/packages/repo-tools/templates/typescript-backstage/modelOneOf.mustache new file mode 100644 index 0000000000..f6f30e029a --- /dev/null +++ b/packages/repo-tools/templates/typescript-backstage/modelOneOf.mustache @@ -0,0 +1,14 @@ +{{#hasImports}} +import { + {{#imports}} + {{{.}}}, + {{/imports}} +} from './'; + +{{/hasImports}} +/** + * @type {{classname}}{{#description}} + * {{{.}}}{{/description}} + * @export + */ +export type {{classname}} = {{#oneOf}}{{{.}}}{{^-last}} | {{/-last}}{{/oneOf}}; diff --git a/packages/repo-tools/templates/typescript-backstage/modelTaggedUnion.mustache b/packages/repo-tools/templates/typescript-backstage/modelTaggedUnion.mustache new file mode 100644 index 0000000000..24a9c0f0b6 --- /dev/null +++ b/packages/repo-tools/templates/typescript-backstage/modelTaggedUnion.mustache @@ -0,0 +1,21 @@ +{{#discriminator}} +export type {{classname}} = {{#children}}{{^-first}} | {{/-first}}{{classname}}{{/children}}; +{{/discriminator}} +{{^discriminator}} +{{#parent}} +export interface {{classname}} { {{>modelGenericAdditionalProperties}} +{{#allVars}} + {{#description}} + /** + * {{{.}}} + */ + {{/description}} + {{name}}{{^required}}?{{/required}}: {{#discriminatorValue}}'{{.}}'{{/discriminatorValue}}{{^discriminatorValue}}{{#isEnum}}{{{datatypeWithEnum}}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{/isEnum}}{{/discriminatorValue}}{{#isNullable}} | null{{/isNullable}}; +{{/allVars}} +} +{{>modelGenericEnums}} +{{/parent}} +{{^parent}} +{{>modelGeneric}} +{{/parent}} +{{/discriminator}} \ No newline at end of file From b10c6032c7069a23149c8cecc753c39a2d0c7e34 Mon Sep 17 00:00:00 2001 From: Aramis Date: Wed, 17 Jan 2024 14:29:45 -0500 Subject: [PATCH 2/6] changeset Signed-off-by: Aramis --- .changeset/angry-phones-arrive.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/angry-phones-arrive.md diff --git a/.changeset/angry-phones-arrive.md b/.changeset/angry-phones-arrive.md new file mode 100644 index 0000000000..2afcd240a9 --- /dev/null +++ b/.changeset/angry-phones-arrive.md @@ -0,0 +1,5 @@ +--- +'@backstage/repo-tools': minor +--- + +Add support for `oneOf` in client generated by `schema openapi generate-client`. From 88581bd8c8692a0dd158587c933baae989043d7d Mon Sep 17 00:00:00 2001 From: Aramis Date: Wed, 17 Jan 2024 14:57:18 -0500 Subject: [PATCH 3/6] update to use the shared additional properties template Signed-off-by: Aramis --- .../templates/typescript-backstage/modelGeneric.mustache | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/repo-tools/templates/typescript-backstage/modelGeneric.mustache b/packages/repo-tools/templates/typescript-backstage/modelGeneric.mustache index 67954c0378..ce42680532 100644 --- a/packages/repo-tools/templates/typescript-backstage/modelGeneric.mustache +++ b/packages/repo-tools/templates/typescript-backstage/modelGeneric.mustache @@ -8,9 +8,7 @@ {{/description}} {{^isEnum}} export interface {{classname}} { -{{#additionalPropertiesType}} - [key: string]: {{{additionalPropertiesType}}}; -{{/additionalPropertiesType}} +{{>modelGenericAdditionalProperties}} {{#vars}} {{#description}} /** From 1f5de82fc7b7ee074439337a1e5aebec150a2ea0 Mon Sep 17 00:00:00 2001 From: Aramis Date: Wed, 17 Jan 2024 15:07:55 -0500 Subject: [PATCH 4/6] updating templates to be more in line with expected backstage types. Signed-off-by: Aramis --- .../typescript-backstage/licenseInfo.mustache | 13 ++++--------- .../typescript-backstage/modelOneOf.mustache | 10 +++++----- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/packages/repo-tools/templates/typescript-backstage/licenseInfo.mustache b/packages/repo-tools/templates/typescript-backstage/licenseInfo.mustache index db559aacf9..afc90f6227 100644 --- a/packages/repo-tools/templates/typescript-backstage/licenseInfo.mustache +++ b/packages/repo-tools/templates/typescript-backstage/licenseInfo.mustache @@ -1,12 +1,7 @@ +// /** - * {{{appName}}} - * {{{appDescription}}} - * - * {{#version}}The version of the OpenAPI document: {{{.}}}{{/version}} - * {{#infoEmail}}Contact: {{{.}}}{{/infoEmail}} - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. + * {{{appName}}}{{#version}}@{{{.}}}{{/version}} + * + * NOTE: This class is auto generated, do not edit the class manually. */ \ No newline at end of file diff --git a/packages/repo-tools/templates/typescript-backstage/modelOneOf.mustache b/packages/repo-tools/templates/typescript-backstage/modelOneOf.mustache index f6f30e029a..66085a7f71 100644 --- a/packages/repo-tools/templates/typescript-backstage/modelOneOf.mustache +++ b/packages/repo-tools/templates/typescript-backstage/modelOneOf.mustache @@ -6,9 +6,9 @@ import { } from './'; {{/hasImports}} -/** - * @type {{classname}}{{#description}} - * {{{.}}}{{/description}} - * @export - */ +{{#description}} + /** + * {{{.}}} + */ +{{/description}} export type {{classname}} = {{#oneOf}}{{{.}}}{{^-last}} | {{/-last}}{{/oneOf}}; From 5ed7314300f99795621ee46ac77f5dd5424d968c Mon Sep 17 00:00:00 2001 From: Aramis Date: Sun, 21 Jan 2024 10:44:39 -0500 Subject: [PATCH 5/6] add attribution for each file Signed-off-by: Aramis --- .../repo-tools/templates/typescript-backstage/model.mustache | 1 + .../templates/typescript-backstage/modelAlias.mustache | 2 ++ .../templates/typescript-backstage/modelEnum.mustache | 2 ++ .../templates/typescript-backstage/modelGeneric.mustache | 2 ++ .../modelGenericAdditionalProperties.mustache | 2 ++ .../templates/typescript-backstage/modelGenericEnums.mustache | 2 ++ .../templates/typescript-backstage/modelOneOf.mustache | 2 ++ .../templates/typescript-backstage/modelTaggedUnion.mustache | 2 ++ 8 files changed, 15 insertions(+) diff --git a/packages/repo-tools/templates/typescript-backstage/model.mustache b/packages/repo-tools/templates/typescript-backstage/model.mustache index 77f186dd5f..97d7858cb2 100644 --- a/packages/repo-tools/templates/typescript-backstage/model.mustache +++ b/packages/repo-tools/templates/typescript-backstage/model.mustache @@ -1,3 +1,4 @@ +{{! Sourced from https://github.com/OpenAPITools/openapi-generator/blob/7347daec61b2cb8d3d28e1ed06fe8b5e682090f8/modules/openapi-generator/src/main/resources/typescript-angular/model.mustache#L17. }} {{>licenseInfo}} {{#models}} {{#model}} diff --git a/packages/repo-tools/templates/typescript-backstage/modelAlias.mustache b/packages/repo-tools/templates/typescript-backstage/modelAlias.mustache index c1c6bf7a5d..351dc37c78 100644 --- a/packages/repo-tools/templates/typescript-backstage/modelAlias.mustache +++ b/packages/repo-tools/templates/typescript-backstage/modelAlias.mustache @@ -1 +1,3 @@ +{{! Sourced from https://github.com/OpenAPITools/openapi-generator/blob/7347daec61b2cb8d3d28e1ed06fe8b5e682090f8/modules/openapi-generator/src/main/resources/typescript-angular/modelAlias.mustache }} + export type {{classname}} = {{dataType}}; \ No newline at end of file diff --git a/packages/repo-tools/templates/typescript-backstage/modelEnum.mustache b/packages/repo-tools/templates/typescript-backstage/modelEnum.mustache index 7a7d2299e1..0deab70f02 100644 --- a/packages/repo-tools/templates/typescript-backstage/modelEnum.mustache +++ b/packages/repo-tools/templates/typescript-backstage/modelEnum.mustache @@ -1,3 +1,5 @@ +{{! Sourced from https://github.com/OpenAPITools/openapi-generator/blob/7347daec61b2cb8d3d28e1ed06fe8b5e682090f8/modules/openapi-generator/src/main/resources/typescript-angular/modelEnum.mustache }} + {{#stringEnums}} export enum {{classname}} { {{#allowableValues}} diff --git a/packages/repo-tools/templates/typescript-backstage/modelGeneric.mustache b/packages/repo-tools/templates/typescript-backstage/modelGeneric.mustache index ce42680532..d51eeaed80 100644 --- a/packages/repo-tools/templates/typescript-backstage/modelGeneric.mustache +++ b/packages/repo-tools/templates/typescript-backstage/modelGeneric.mustache @@ -1,3 +1,5 @@ +{{! Sourced from https://github.com/OpenAPITools/openapi-generator/blob/7347daec61b2cb8d3d28e1ed06fe8b5e682090f8/modules/openapi-generator/src/main/resources/typescript-angular/modelGeneric.mustache }} + {{#models}} {{#model}} diff --git a/packages/repo-tools/templates/typescript-backstage/modelGenericAdditionalProperties.mustache b/packages/repo-tools/templates/typescript-backstage/modelGenericAdditionalProperties.mustache index e6499ce9d6..b8d7d1ceb7 100644 --- a/packages/repo-tools/templates/typescript-backstage/modelGenericAdditionalProperties.mustache +++ b/packages/repo-tools/templates/typescript-backstage/modelGenericAdditionalProperties.mustache @@ -1,3 +1,5 @@ +{{! Sourced from https://github.com/OpenAPITools/openapi-generator/blob/7347daec61b2cb8d3d28e1ed06fe8b5e682090f8/modules/openapi-generator/src/main/resources/typescript-angular/modelGenericAdditionalProperties.mustache }} + {{#additionalPropertiesType}} [key: string]: {{{additionalPropertiesType}}}{{#hasVars}} | any{{/hasVars}}; diff --git a/packages/repo-tools/templates/typescript-backstage/modelGenericEnums.mustache b/packages/repo-tools/templates/typescript-backstage/modelGenericEnums.mustache index a824e55ec5..8d7b49c9c3 100644 --- a/packages/repo-tools/templates/typescript-backstage/modelGenericEnums.mustache +++ b/packages/repo-tools/templates/typescript-backstage/modelGenericEnums.mustache @@ -1,3 +1,5 @@ +{{! Sourced from https://github.com/OpenAPITools/openapi-generator/blob/7347daec61b2cb8d3d28e1ed06fe8b5e682090f8/modules/openapi-generator/src/main/resources/typescript-angular/modelGenericEnums.mustache }} + {{#hasEnums}} {{^stringEnums}} diff --git a/packages/repo-tools/templates/typescript-backstage/modelOneOf.mustache b/packages/repo-tools/templates/typescript-backstage/modelOneOf.mustache index 66085a7f71..b261789c3d 100644 --- a/packages/repo-tools/templates/typescript-backstage/modelOneOf.mustache +++ b/packages/repo-tools/templates/typescript-backstage/modelOneOf.mustache @@ -1,3 +1,5 @@ +{{! Sourced from https://github.com/OpenAPITools/openapi-generator/blob/7347daec61b2cb8d3d28e1ed06fe8b5e682090f8/modules/openapi-generator/src/main/resources/typescript-angular/modelOneOf.mustache }} + {{#hasImports}} import { {{#imports}} diff --git a/packages/repo-tools/templates/typescript-backstage/modelTaggedUnion.mustache b/packages/repo-tools/templates/typescript-backstage/modelTaggedUnion.mustache index 24a9c0f0b6..a3f5e00904 100644 --- a/packages/repo-tools/templates/typescript-backstage/modelTaggedUnion.mustache +++ b/packages/repo-tools/templates/typescript-backstage/modelTaggedUnion.mustache @@ -1,3 +1,5 @@ +{{! Sourced from https://github.com/OpenAPITools/openapi-generator/blob/7347daec61b2cb8d3d28e1ed06fe8b5e682090f8/modules/openapi-generator/src/main/resources/typescript-angular/modelTaggedUnion.mustache }} + {{#discriminator}} export type {{classname}} = {{#children}}{{^-first}} | {{/-first}}{{classname}}{{/children}}; {{/discriminator}} From d374ec308196255607da3544c62748e697933463 Mon Sep 17 00:00:00 2001 From: Aramis Date: Sun, 21 Jan 2024 10:49:49 -0500 Subject: [PATCH 6/6] add openapi to notice Signed-off-by: Aramis --- NOTICE | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NOTICE b/NOTICE index 38e5cdef85..fb23d28ebc 100644 --- a/NOTICE +++ b/NOTICE @@ -2,4 +2,6 @@ Backstage Copyright 2020 The Backstage Authors Portions of this software were developed by third-party software vendors: + - Tech Radar Plugin (https://opensource.zalando.com/tech-radar/), Copyright (c) 2017 Zalando SE +- [OpenAPI Generator Templates](./packages/repo-tools/templates), Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech) Copyright 2018 SmartBear Software