APIs: Include enterprise spec check (#113470)

This commit is contained in:
Tom Ratcliffe
2025-11-06 08:31:24 +00:00
committed by GitHub
parent 7281bb7069
commit b739e4e802
2 changed files with 23 additions and 5 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ jobs:
make swagger-clean && make openapi3-gen
# Check if the generated specs differ from what's in the repository
for f in public/api-merged.json public/openapi3.json; do git add $f; done
for f in public/api-merged.json public/openapi3.json public/api-enterprise-spec.json; do git add $f; done
if [ -z "$(git diff --name-only --cached)" ]; then
echo "OpenAPI specs are up to date!"
else
+22 -4
View File
@@ -2975,6 +2975,10 @@
"description": "Name of annotation.",
"type": "string"
},
"placement": {
"description": "Placement can be used to display the annotation query somewhere else on the dashboard other than the default location.",
"type": "string"
},
"target": {
"$ref": "#/definitions/AnnotationTarget"
},
@@ -4323,6 +4327,20 @@
}
}
},
"DashboardVersionResponseMeta": {
"type": "object",
"properties": {
"continueToken": {
"type": "string"
},
"versions": {
"type": "array",
"items": {
"$ref": "#/definitions/DashboardVersionMeta"
}
}
}
},
"DataLink": {
"description": "DataLink define what",
"type": "object",
@@ -7979,6 +7997,9 @@
"teamUID": {
"type": "string"
},
"uid": {
"type": "string"
},
"userId": {
"type": "integer",
"format": "int64"
@@ -9420,10 +9441,7 @@
"dashboardVersionsResponse": {
"description": "",
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/DashboardVersionMeta"
}
"$ref": "#/definitions/DashboardVersionResponseMeta"
}
},
"deleteCorrelationResponse": {