fix(ci/cd): detect uncommited swagger docs (#1724)

Signed-off-by: Alexei Dodon <adodon@cisco.com>
This commit is contained in:
Alexei Dodon
2023-08-23 19:21:43 +03:00
committed by GitHub
parent 6d65401499
commit ca2904762a
15 changed files with 53 additions and 45 deletions
+2 -2
View File
@@ -1399,7 +1399,7 @@ const docTemplate = `{
"description": "Platform describes the platform which the image in the manifest runs on.\n\nThis should only be used when referring to a manifest.",
"allOf": [
{
"$ref": "#/definitions/github_com_opencontainers_image-spec_specs-go_v1.Platform"
"$ref": "#/definitions/v1.Platform"
}
]
},
@@ -1416,7 +1416,7 @@ const docTemplate = `{
}
}
},
"github_com_opencontainers_image-spec_specs-go_v1.Platform": {
"v1.Platform": {
"type": "object",
"properties": {
"architecture": {