From 7b8976425d070f43d0e7cbd46b3a97ee8bfd5a2c Mon Sep 17 00:00:00 2001 From: Miklos Kiss Date: Thu, 13 Jan 2022 14:22:58 +0100 Subject: [PATCH 1/3] Add clarification that Location spec is required Signed-off-by: Miklos Kiss --- docs/features/software-catalog/descriptor-format.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/features/software-catalog/descriptor-format.md b/docs/features/software-catalog/descriptor-format.md index 57473ce4c7..2b6b2049d0 100644 --- a/docs/features/software-catalog/descriptor-format.md +++ b/docs/features/software-catalog/descriptor-format.md @@ -1266,6 +1266,9 @@ shape, this kind has the following structure. Exactly equal to `backstage.io/v1alpha1` and `Location`, respectively. +### `spec` [required] +The `spec` field is required. The miniaml spec should be an empty object. + ### `spec.type` [optional] The single location type, that's common to the targets specified in the spec. If From d78909c35e7ed51b727a4b2f6b62744bafeb8dca Mon Sep 17 00:00:00 2001 From: Miklos Kiss Date: Thu, 13 Jan 2022 15:39:52 +0100 Subject: [PATCH 2/3] Fix typo Signed-off-by: Miklos Kiss --- docs/features/software-catalog/descriptor-format.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/features/software-catalog/descriptor-format.md b/docs/features/software-catalog/descriptor-format.md index 2b6b2049d0..a5f50b1998 100644 --- a/docs/features/software-catalog/descriptor-format.md +++ b/docs/features/software-catalog/descriptor-format.md @@ -1267,7 +1267,7 @@ shape, this kind has the following structure. Exactly equal to `backstage.io/v1alpha1` and `Location`, respectively. ### `spec` [required] -The `spec` field is required. The miniaml spec should be an empty object. +The `spec` field is required. The minimal spec should be an empty object. ### `spec.type` [optional] From e683a479d1b8759204cb413c78eeb9820e2db2ef Mon Sep 17 00:00:00 2001 From: Miklos Kiss Date: Thu, 13 Jan 2022 16:01:34 +0100 Subject: [PATCH 3/3] Fix formatting Signed-off-by: Miklos Kiss --- docs/features/software-catalog/descriptor-format.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/features/software-catalog/descriptor-format.md b/docs/features/software-catalog/descriptor-format.md index a5f50b1998..ec4e13c1d4 100644 --- a/docs/features/software-catalog/descriptor-format.md +++ b/docs/features/software-catalog/descriptor-format.md @@ -1267,6 +1267,7 @@ shape, this kind has the following structure. Exactly equal to `backstage.io/v1alpha1` and `Location`, respectively. ### `spec` [required] + The `spec` field is required. The minimal spec should be an empty object. ### `spec.type` [optional]