APIs: Include enterprise spec check (#113470)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user