Skip to content

Commit ef20eb0

Browse files
committed
Make "fetch-spec" script compatible with Netbox 3.5+.
1 parent fa82f18 commit ef20eb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/fetch-spec.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ mv "${REPO_DIR}/docker-compose.override.yml.example" "${REPO_DIR}/docker-compose
2121
export VERSION="v${NETBOX_VERSION}"
2222
docker compose --project-directory="${REPO_DIR}" up --detach --quiet-pull
2323

24-
while ! curl --silent http://localhost:8000/api/docs/?format=openapi > api/openapi.json 2> /dev/null; do
24+
while ! curl --silent http://localhost:8000/api/schema/ > api/openapi.yaml 2> /dev/null; do
2525
sleep 1
2626
done
2727

0 commit comments

Comments
 (0)