Add Swagger API docs page #50
No reviewers
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!50
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/task-51eaa27f-swagger-api-docs"
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?
Summary
@hono/swagger-uito the template site.GET /api/v1/docsserving Swagger UI../openapi.json.Testing
make check./scripts/pre-pr.sh/api/v1/docsrenders Swagger UI configured with./openapi.json.Task: #task-51eaa27f
PR Review: Approved
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.