[PR #1811] [MERGED] fix: fix issues with openapi types and references #12253

Closed
opened 2026-04-13 08:15:53 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/1811
Author: @Ehesp
Created: 3/13/2025
Status: Merged
Merged: 3/15/2025
Merged by: @Bekacru

Base: mainHead: ehesp/openapi-fixes


📝 Commits (2)

  • 2399a7d fix: fix issues with openapi types and references
  • ff73504 Merge branch 'main' into ehesp/openapi-fixes

📊 Changes

4 files changed (+12 additions, -14 deletions)

View changed files

📝 packages/better-auth/src/api/routes/email-verification.ts (+1 -0)
📝 packages/better-auth/src/api/routes/session.ts (+1 -11)
📝 packages/better-auth/src/api/routes/sign-in.ts (+8 -3)
📝 packages/better-auth/src/api/routes/update-user.ts (+2 -0)

📄 Description

I noticed a bunch of issues when generating a http client using the openapi spec - either wrong return types, required fields or didn't reference the defined models.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/1811 **Author:** [@Ehesp](https://github.com/Ehesp) **Created:** 3/13/2025 **Status:** ✅ Merged **Merged:** 3/15/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `ehesp/openapi-fixes` --- ### 📝 Commits (2) - [`2399a7d`](https://github.com/better-auth/better-auth/commit/2399a7dceb2a8198b916b2f2905aa1f7dc7d08b6) fix: fix issues with openapi types and references - [`ff73504`](https://github.com/better-auth/better-auth/commit/ff7350405b1cdcce2ed89a55f38db19595936f6b) Merge branch 'main' into ehesp/openapi-fixes ### 📊 Changes **4 files changed** (+12 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/api/routes/email-verification.ts` (+1 -0) 📝 `packages/better-auth/src/api/routes/session.ts` (+1 -11) 📝 `packages/better-auth/src/api/routes/sign-in.ts` (+8 -3) 📝 `packages/better-auth/src/api/routes/update-user.ts` (+2 -0) </details> ### 📄 Description I noticed a bunch of issues when generating a http client using the openapi spec - either wrong return types, required fields or didn't reference the defined models. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 08:15:53 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#12253