Skip to content

fix(auth): Remove the better-auth OpenAPI plugin - #471

Merged
Bohreromir merged 1 commit into
mainfrom
fix/remove-openapi-plugin
Nov 16, 2026
Merged

Bohreromir merged 1 commit into
mainfrom
fix/remove-openapi-plugin

Conversation

@Bohreromir

@Bohreromir Bohreromir commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Description

The plugin only purpose was to serve an auth api doc which does not belong in production

Docs

Release note

Checklist

Author

  • AI review done, findings addressed
  • Tests added or updated
  • Changelog updated (if the repo keeps one)

Reviewer

  • Useful comments and logging
  • Docs added or updated per the style guide

Acceptance

  • Check for release notes and docs

The plugin served /api/auth/reference and the generated schema without a
session in production, and the reference page loaded an unpinned script
from jsdelivr. Nothing uses it.
@github-actions

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 67.53% 9267 / 13722
🔵 Statements 66.46% 12444 / 18723
🔵 Functions 68.33% 2983 / 4365
🔵 Branches 57.48% 5228 / 9095
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/lib/server/auth.ts 65.85% 34.48% 50% 72.72% 14, 15, 16, 19, 69, 75-77, 131-156
Generated in workflow #1314 for commit 2e61f35 by the Vitest Coverage Report Action

@Bohreromir Bohreromir moved this to Development: Waiting for Review in Stackable Engineering Nov 16, 2026
@Bohreromir
Bohreromir marked this pull request as ready for review November 16, 2026 15:19
@Bohreromir Bohreromir self-assigned this Nov 16, 2026

@labrenbe labrenbe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Bohreromir
Bohreromir added this pull request to the merge queue Nov 16, 2026
@Bohreromir Bohreromir moved this from Development: Waiting for Review to Development: Done in Stackable Engineering Nov 16, 2026
Merged via the queue into main with commit b169deb Nov 16, 2026
12 checks passed
@Bohreromir
Bohreromir deleted the fix/remove-openapi-plugin branch November 16, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Development: Done

Development

Successfully merging this pull request may close these issues.

2 participants