fix(swagger): regenerate the fragment for stage 9's runicNpc status field #35
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/swagger-fragment-stage9"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What & why
edgeis red. On run 38 (#34, RunicNPC stage 9),server-testspassed all 474 tests (# fail 0) and then failed atnpm run check:swagger, with "swagger-fragment.json is STALE".Stage 9 (
d140d5c) added arunicNpcobject (ready,absence,version,api) to the server-status schema inserver/swagger/doc.jsbut never regeneratedswagger-fragment.json. This PR is the output ofnpm run swaggerand nothing else: 74 added lines, all of them therunicNpcblock.The new block renders
type/descriptionas nestedproperties. The existingzoneHelperentry beside it renders the same way, so that's how swagger-autogen has always handleddoc.jshere, not something this PR introduced.How it was tested
npm run swagger→wrote swagger-fragment.json — 75 pathsnpm run check:swagger→swagger-fragment.json is current — 75 pathsChecklist
check:swagger, which passes; see above.)AI-assisted contributions (required)
Claude Code (Claude Opus 5.5). I have reviewed and understandevery change, and take responsibility for it. AI-authored commits are
marked with a
Co-Authored-By/Assisted-Bytrailer.License
(GNU GPL v3.0 or later), and I have the right to contribute it.
🤖 Generated with Claude Code
https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY