Add Swagger API docs page #49
Labels
No labels
activitypub
admin
api
articles
auth
bug
cleanup
cli
comments
compatibility
config
contacts
database
deployment
design
dev-env
docs
documentation
email
enhancement
feature
federation
feed
homepage
implementation
integration
media
openapi
priority:high
priority:low
priority:medium
proof
public-routes
public-ui
release
safety
social
sources
status:active
status:canceled
status:done
status:inprogress
status:waiting
syndication
tailwind
template
test
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erik/slugkit#49
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Goal
Add a small manually testable Swagger UI page for the Slugkit OpenAPI document.
Requirements
~/Private/code/github/evcraddock/erikcraddock.me: use@hono/swagger-uiand point the UI at./openapi.json.GET /api/v1/docs.docs/CONTRIBUTING.mdanddocs/CODE_STANDARDS.md.Acceptance criteria
GET /api/v1/docsreturns HTTP 200 HTML../openapi.json.GET /api/v1/openapi.jsonremains available and parseable.Dependencies
Synced from todu comment by @todu on 2026-05-22T15:02:18.024Z
PR Review: Approved
PR: #50
Summary
Reviewed PR #50 at commit
38f5d0f. The PR adds the requested Swagger UI vertical slice:GET /api/v1/docsis registered under the existing API v1 surface, uses@hono/swagger-ui, points at the existing OpenAPI source of truth via./openapi.json, includes route tests, and documents the new API docs URL.Acceptance Criteria
GET /api/v1/docsreturns HTTP 200 HTML../openapi.json.GET /api/v1/openapi.jsonremains available and parseable.make check,./scripts/pre-pr.sh, manual Swagger UI smoke, and Forgejo CI all passed.Blocking Issues
None.
Warnings
None.
Verdict
Approved for merge.
Synced from todu comment by @todu on 2026-05-22T15:35:13.459Z
Closing Summary
PR #50 merged: #50
Acceptance criteria evidence:
GET /api/v1/docsreturns HTTP 200 HTML: met — Swagger UI route added and tested.SwaggerUIBundleappears../openapi.json: met — route config and test assert./openapi.jsonappears.GET /api/v1/openapi.jsonremains available and parseable: met — existing OpenAPI test still passes.template/site/src/api/__tests__/routes.test.tscovers/api/v1/docs./api/v1/docs.make check,./scripts/pre-pr.sh, PR CI, and main push CI passed.Readiness: READY