fix: use int64 for retention period in API spec

This updates the Cloud Dedicated Management API spec to use the `int64`
format for the `ClusterDatabaseRetentionPeriod` schema, which matches
the corresponding type in IOx's namespace API.
pull/5489/head
Dustin Eaton 2024-06-04 16:16:02 -05:00
parent 97f9dca3a9
commit a0ea0fcb41
2 changed files with 2 additions and 2 deletions

View File

@ -1597,7 +1597,7 @@ components:
If the retention period is not set or is set to 0, the database will have infinite retention
type: integer
format: int32
format: int64
default: 0
examples:
- 300000000000

View File

@ -155,7 +155,7 @@ function updateCloudDedicatedManagement {
then
echo "Using existing $outFile"
else
curl $UPDATE_OPTIONS https://raw.githubusercontent.com/influxdata/granite/3117fb47d5e56afaadcebc226ff4b25785d95b5a/openapi.yaml -o $outFile
curl $UPDATE_OPTIONS https://raw.githubusercontent.com/influxdata/granite/ab7ee2aceacfae7f415d15ffbcf8c9d0f6f3e015/openapi.yaml -o $outFile
fi
postProcess $outFile 'cloud-dedicated/.config.yml' management@0
}