We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b886f3 commit ad9df8eCopy full SHA for ad9df8e
.changeset/tiny-pandas-run.md
@@ -0,0 +1,5 @@
1
+---
2
+'@gitbook/api': minor
3
4
+
5
+Update API client with latest OpenAPI spec
packages/api/build.sh
@@ -7,7 +7,7 @@ mkdir ./spec
7
LOCAL_OPENAPI_FILE=../../../gitbook-x/packages/api-client/static/openapi.yaml
8
9
if [[ -z "${GITBOOK_OPENAPI_URL}" ]]; then
10
- OPENAPI_URL="https://api.gitbook.com/openapi.yaml"
+ OPENAPI_URL="https://api.gitbook.com/openapi.yaml?cacheBust=$(date +%s)"
11
else
12
OPENAPI_URL="${GITBOOK_OPENAPI_URL}"
13
fi
0 commit comments