The console no longer carries an npm script that fetched the API snapshot from a fixed port #422

Merged
claude merged 1 commit from feature/215-console-fetch-openapi-script into develop 2026-11-13 13:10:33 -05:00
Owner

Closes #215

The fetch:openapi npm script fetched the API snapshot from http://localhost:5000, where nothing listens by default, and bypassed the supported snapshot flow (AGENTS.md, "Changing the REST API"). It is removed, the option the issue prefers. One test comment that named it is reworded; no document names it.

Contributor tooling only, so no CHANGELOG entry. The verifier ran lint, the format check, csharpier on the changed C# file and the build of Ninlil.Web.Tests.

🤖 Generated with Claude Code

https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK

Closes #215 The `fetch:openapi` npm script fetched the API snapshot from `http://localhost:5000`, where nothing listens by default, and bypassed the supported snapshot flow (AGENTS.md, "Changing the REST API"). It is removed, the option the issue prefers. One test comment that named it is reworded; no document names it. Contributor tooling only, so no CHANGELOG entry. The verifier ran lint, the format check, csharpier on the changed C# file and the build of `Ninlil.Web.Tests`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
The console no longer carries an npm script that fetched the API snapshot from a fixed port
All checks were successful
Build / Pack and Push NuGet Packages (dns-server) (push) Successful in -2m3s
Build / Build Binary (linux-amd64) (pull_request) Has been skipped
Build / Build Binary (macos-amd64) (pull_request) Has been skipped
Build / Build Binary (macos-arm64) (pull_request) Has been skipped
Build / Build Binary (windows-amd64) (pull_request) Has been skipped
Build / Smoke Test the Windows Binary (pull_request) Has been skipped
Build / Build Binary (linux-arm64) (pull_request) Has been skipped
Build / Build Binary (linux-amd64) (push) Successful in -29s
Build / Build Binary (linux-arm64) (push) Successful in -39s
Build / Build Binary (macos-amd64) (push) Successful in -1m5s
Build / Build Binary (macos-arm64) (push) Successful in -55s
Build / Build Binary (windows-amd64) (push) Successful in -1m24s
Build / Smoke Test the Windows Binary (push) Successful in 15s
Build / Build Arch Linux Packages (pull_request) Has been skipped
Build / Build and Test Deb and RPM Packages (pull_request) Has been skipped
Build / Build and Push Image (pull_request) Has been skipped
Build / Build Arch Linux Packages (push) Successful in -2m21s
Build / Build and Push Image (push) Successful in -2m2s
Build / Build and Test Deb and RPM Packages (push) Successful in 14s
Build / Publish Release (pull_request) Has been skipped
Build / Pipeline (pull_request) Successful in 0s
Build / Publish Release (push) Successful in -2m36s
Build / Pipeline (push) Successful in 0s
Build / Pack and Push NuGet Packages (dhcp) (pull_request) Has been skipped
Build / Pack and Push NuGet Packages (dns-core) (pull_request) Has been skipped
Build / Pack and Push NuGet Packages (dns-server) (pull_request) Has been skipped
Build / Stage Draft Release (push) Successful in -2m37s
Build / Pack and Push NuGet Packages (common) (push) Successful in -2m29s
Build / Pack and Push NuGet Packages (dhcp) (push) Successful in -2m10s
Build / Pack and Push NuGet Packages (dns-core) (push) Successful in -2m1s
b253b71de4
The snapshot is regenerated through the OpenApiSnapshotTests flow in AGENTS.md; the script
bypassed it and needed a host on port 5000.

Closes #215

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
claude merged commit e4aa70ffd7 into develop 2026-11-13 13:10:33 -05:00
claude deleted branch feature/215-console-fetch-openapi-script 2026-11-13 13:10:34 -05:00
Sign in to join this conversation.
No reviewers
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lantea-one/ninlil!422
No description provided.