seahaven-ap/packages/api/openapi/openapi.yaml
Adam Moussa 9d3646876e
feat(api): stand up Hono Drizzle foundation with auth and Redocly (AP-14) (#12)
* feat(api): stand up Hono Drizzle foundation with auth and Redocly

* fix(api): bump drizzle-orm and hono node-server past audit highs

* fix(api): harden auth upsert and Cognito token verification
2026-08-11 00:10:49 +00:00

31 lines
934 B
YAML

openapi: 3.1.0
info:
title: Sea Haven AP API
version: 1.0.0
description: "Accounts payable HTTP API for Sea Haven Industries. Foundation surface for health and authenticated session smoke under local and AWS runtimes."
license:
name: Proprietary
servers:
- url: https://ap.seahaven.com
description: Production API host for ap.seahaven.com.
tags:
- name: Health
description: Liveness and dependency checks for the API process.
- name: Session
description: Authenticated caller identity after JWT or local dev auth.
paths:
/health:
$ref: ./paths/health.yaml
/api/me:
$ref: ./paths/me.yaml
components:
securitySchemes:
bearerAuth:
$ref: ./components/security.yaml#/bearerAuth
schemas:
Error:
$ref: ./components/schemas.yaml#/Error
HealthResponse:
$ref: ./components/schemas.yaml#/HealthResponse
MeResponse:
$ref: ./components/schemas.yaml#/MeResponse