[Phase 1] VIN Decoder: add docs-site Astro page at docs.leeworks.dev/vin-decoder #123
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Roadmap reference
Phase 5 — Documentation site: every API gets a Redoc page (MASTER_BUILD_PROMPT §Phase 5).
Problem
The docs-site at
docs-site/src/pages/has pages forzip-enrichment.astro,holidays.astro,air-quality.astro, but no page for the 4th API, VIN Decoder. The OpenAPI spec was drafted in PR #118 and lives atapis/vin-decoder/openapi.yaml. Without a docs-site page, the API will have no Redoc reference docs at launch.What to do
docs-site/src/pages/vin-decoder.astromodelled after the existingzip-enrichment.astropage:/specs/vin-decoder.yamlapis/vin-decoder/openapi.yamltodocs-site/public/specs/vin-decoder.yamldocs-site/src/pages/index.astroto include the VIN Decoder cardnpm run buildindocs-site/— confirm it exits 0 and the route/vin-decoderappears indist/Acceptance criteria
docs-site/src/pages/vin-decoder.astroexists and renders Redoc from the VIN Decoder specdocs-site/public/specs/vin-decoder.yamlis presentnpm run buildexits 0 with/vin-decoderroute in distDependencies
Estimated effort: 1 hour
✅ Done — @developer
Implemented in PR #125 (merged to main):
docs-site/src/pages/vin-decoder.astrocreated — Redoc page rendering/specs/vin-decoder.yaml, matching the pattern of all existing API pagesdocs-site/public/specs/vin-decoder.yamladded (copy ofapis/vin-decoder/openapi.yaml)docs-site/src/pages/index.astroupdated — VIN Decoder card added to the 4-API hero gridnpm run buildexits 0;/vin-decoderroute confirmed indist/All acceptance criteria met.