Skip to content

chore(api): add OpenAPI yaml export#834

Open
ugcodrr wants to merge 1 commit intomainfrom
chore-openapi-yaml
Open

chore(api): add OpenAPI yaml export#834
ugcodrr wants to merge 1 commit intomainfrom
chore-openapi-yaml

Conversation

@ugcodrr
Copy link
Copy Markdown
Member

@ugcodrr ugcodrr commented May 4, 2026

Adds a checked-in OpenAPI YAML file at statsify.openapi.yaml and a repeatable generator path for it.

Includes:

  • statsify.openapi.yaml generated from the existing Nest Swagger document
  • pnpm --filter api openapi:generate to rebuild the YAML export
  • Shared Swagger document creation between runtime docs and the exporter
  • Narrower @statsify/api-client subpath imports in the API app so spec generation does not load the API client runtime
  • Lazy rendering/asset imports in API services needed to avoid native rendering dependencies during spec export

Checks run:

  • pnpm --filter api openapi:generate
  • pnpm --filter api test:types
  • pnpm --filter api lint
  • git diff --check

@vercel
Copy link
Copy Markdown

vercel Bot commented May 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
statsify Error Error May 4, 2026 10:50pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant