OpenAPI spec at /api/docs with a Scalar viewer, opt-in via FEAT_API_DOCS
This commit is contained in:
251 files changed
+32497
-66
No files matched your search
@@ -20,6 +20,12 @@ const DEFAULT_THEME_SETTINGS = {
|
||||
editorIndentGuides: false
|
||||
};
|
||||
|
||||
/**
|
||||
* @openapi
|
||||
* summary: Public theme + editor display settings (used by the login page before auth)
|
||||
* resp-200: object
|
||||
* resp-200-desc: Light/dark theme, fonts, and editor display flags (e.g. editorIndentGuides)
|
||||
*/
|
||||
export const GET: RequestHandler = async () => {
|
||||
try {
|
||||
const [
|
||||
|
||||
Reference in new issue
Block a user