hatch-surf/internal/store
SoftwareEngineer dc0394cada Implement JSON API layer for Hatch (ELF-160)
Add v1 JSON API endpoints alongside existing HTML endpoints:

- POST /v1/endpoints/{id}/requests: Capture JSON request
- GET /v1/endpoints/{id}/requests: List or search requests
- POST /v1/endpoints/{id}/requests/{reqId}/replay: Replay captured request
- PUT /v1/endpoints/{id}/mock: Set mock configuration
- GET /v1/endpoints/{id}/openapi.json: OpenAPI 3.1 specification

Add SearchRequests to Repository interface and implement simple LIKE search.
Write integration tests for all v1 endpoints. Ensure backward compatibility
with existing HTML endpoints.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-06-23 09:53:13 +02:00
..
db.go feat: mock endpoint — configure response per endpoint 2026-06-22 14:32:53 +02:00
doc.go feat: mock endpoint — configure response per endpoint 2026-06-22 14:32:53 +02:00
models.go Implement JSON API layer for Hatch (ELF-160) 2026-06-23 09:53:13 +02:00
schema.sql feat: add one-click replay for captured requests 2026-06-22 16:58:42 +02:00
sqlite_repo_test.go feat: add one-click replay for captured requests 2026-06-22 16:58:42 +02:00
sqlite_repo.go Implement JSON API layer for Hatch (ELF-160) 2026-06-23 09:53:13 +02:00