eCourt-note/tests/lib
Suphonchai Phoonsawat 545c9d5703 add /api/auth short-path endpoints (token/session) + swagger group "auth"
- POST /api/auth/token = alias of /api/documents/token (docver access_token,
  both x-api-key and ticket entrances)
- POST /api/auth/session = alias of /api/note/auth/session (exchange e-Court
  link credential for note login token, 8h TTL)
- lib/openapi.ts: new "auth" tag + both paths + SessionExchangeRequest /
  SessionResponse schemas (session endpoint had never been documented)
- tests/lib/openapi.test.ts: guard all $refs resolve + auth paths exist

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-05 13:06:45 +07:00
..
addin-ticket.test.ts Refactor authentication flow and ticket handling in add-in 2026-11-04 21:18:19 +07:00
document-versioning.test.ts Refactor document versioning to extract fields from uploaded .docx files on the server side 2026-10-31 10:21:17 +07:00
docver-token.test.ts Merge branch 'forgejo-dev' into working 2026-11-02 10:07:08 +07:00
external-api-auth.test.ts refactor(routes): move routes under /note, APIs under /api/note 2026-10-06 14:55:07 +07:00
lib-tmpl.test.ts feat: add GET /api/documents/latest returning latest version file with stamped ticket 2026-10-31 11:09:42 +07:00
note-auth.test.ts feat(note): mock e-Court login form on dev page 2026-11-02 12:19:38 +07:00
openapi.test.ts add /api/auth short-path endpoints (token/session) + swagger group "auth" 2026-11-05 13:06:45 +07:00
pdf-actual-text.test.ts refactor(routes): move routes under /note, APIs under /api/note 2026-10-06 14:55:07 +07:00