/opt/canhelp/node_modules/better-auth/dist/plugins/open-api
Edit: /opt/canhelp/node_modules/better-auth/dist/plugins/open-api/index.mjs (2096B)
import { HIDE_METADATA } from "../../utils/hide-metadata.mjs";
import "../../utils/index.mjs";
import { APIError } from "../../api/index.mjs";
import { generator } from "./generator.mjs";
import { logo } from "./logo.mjs";
import { createAuthEndpoint } from "@better-auth/core/api";
//#region src/plugins/open-api/index.ts
const getHTML = (apiReference, theme, nonce) => {
const nonceAttr = nonce ? `nonce="${nonce}"` : "";
return `
Scalar API Reference