[PR #477] [CLOSED] feat: api endpoint documentation #3318

Closed
opened 2026-03-13 10:48:54 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/477
Author: @LovelessCodes
Created: 11/9/2024
Status: Closed

Base: mainHead: feature/api-docs


📝 Commits (2)

  • e3195c1 added: scalar package to docs
  • 89ef8a7 feat: new references route with openapi spec

📊 Changes

4 files changed (+1656 additions, -70 deletions)

View changed files

docs/app/reference/route.ts (+9 -0)
📝 docs/package.json (+1 -0)
docs/public/openapi.yml (+1341 -0)
📝 pnpm-lock.yaml (+305 -70)

📄 Description

Summary

This PR enhances the documentation for API endpoints using Scalar to provide clear, organized, and user-friendly information.

Key Changes

Scalar Integration: Introduced Scalar to display API endpoints with detailed descriptions, examples, method types, and parameters.

Benefits

Improved Usability: Easier for users to understand and implement API endpoints.
Increased Adoption: Facilitates library adoption by new users through clear, comprehensive endpoint documentation.


🔄 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/477 **Author:** [@LovelessCodes](https://github.com/LovelessCodes) **Created:** 11/9/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feature/api-docs` --- ### 📝 Commits (2) - [`e3195c1`](https://github.com/better-auth/better-auth/commit/e3195c1bea77584deece95d4842b775a429649b4) added: scalar package to docs - [`89ef8a7`](https://github.com/better-auth/better-auth/commit/89ef8a7f8a37d0a7d064783974debce9a09bf9df) feat: new references route with openapi spec ### 📊 Changes **4 files changed** (+1656 additions, -70 deletions) <details> <summary>View changed files</summary> ➕ `docs/app/reference/route.ts` (+9 -0) 📝 `docs/package.json` (+1 -0) ➕ `docs/public/openapi.yml` (+1341 -0) 📝 `pnpm-lock.yaml` (+305 -70) </details> ### 📄 Description ### Summary This PR enhances the documentation for API endpoints using Scalar to provide clear, organized, and user-friendly information. ### Key Changes **Scalar Integration**: Introduced Scalar to display API endpoints with detailed descriptions, examples, method types, and parameters. ### Benefits **Improved Usability**: Easier for users to understand and implement API endpoints. **Increased Adoption**: Facilitates library adoption by new users through clear, comprehensive endpoint documentation. --- <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-03-13 10:48:54 -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#3318