From 338f84e98f5f74c56e14761d61b416cc6fabe9df Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 14 Feb 2026 12:29:47 +0000 Subject: [PATCH 1/3] Initial plan From d3b466177ef16fdbab6375958c3e3bf80ec09cf0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 14 Feb 2026 12:32:14 +0000 Subject: [PATCH 2/3] Add comprehensive SEO metadata to web pages Co-authored-by: mtakla <5850775+mtakla@users.noreply.github.com> --- package-lock.json | 4 ++-- src/api/openapi.ts | 29 +++++++++++++++++------------ src/api/webapi.ts | 21 +++++++++++++++++++-- 3 files changed, 38 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index 884a805..13cfbc0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@mtakla/cronops", - "version": "0.1.1-rc2.3", + "version": "0.1.1-rc2.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@mtakla/cronops", - "version": "0.1.1-rc2.3", + "version": "0.1.1-rc2.4", "license": "ISC", "dependencies": { "chalk": "5.6.2", diff --git a/src/api/openapi.ts b/src/api/openapi.ts index 1284361..d13c4d6 100644 --- a/src/api/openapi.ts +++ b/src/api/openapi.ts @@ -1,6 +1,19 @@ export const openapi = { openapi: "3.0.3", - info: { title: "CronOps Web API", version: "1.0.0" }, + info: { + title: "CronOps Web API", + version: "1.0.0", + description: + "REST API for CronOps - A lightweight, cron-based file management and system task scheduler for containerized environments. Automate file operations, execute commands, and manage scheduled jobs.", + contact: { + name: "CronOps", + url: "https://github.com/mtakla/cronops", + }, + license: { + name: "ISC", + url: "https://github.com/mtakla/cronops/blob/master/LICENSE", + }, + }, components: { securitySchemes: { ApiKeyBearer: { @@ -13,23 +26,15 @@ export const openapi = { tags: [ { name: "public", - description: "Public api", + description: "Public endpoints - Health check and API documentation", }, { name: "jobs", - description: "CronOps job related tasks", + description: "Job management - Trigger, pause, and resume CronOps scheduled jobs", }, { name: "admin", - description: "CronOps admin tasks", - }, - { - name: "user", - description: "Operations about user", - externalDocs: { - description: "Find out more about our store", - url: "http://swagger.io", - }, + description: "Administration endpoints - Manage CronOps service configuration and operations", }, ], paths: { diff --git a/src/api/webapi.ts b/src/api/webapi.ts index 0cc1bdb..977df11 100644 --- a/src/api/webapi.ts +++ b/src/api/webapi.ts @@ -30,10 +30,27 @@ app.addHook("preHandler", async (request, reply) => { app.get("/docs", async (_, reply) => { reply.type("text/html").send(` - + - CronOps API + + + + + + + + + + + + + + + + + + CronOps API Documentation From 53595c4e533b5be31d4059bdcd6d53921de116e0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 14 Feb 2026 12:33:41 +0000 Subject: [PATCH 3/3] Fix LICENSE URL to use main branch instead of master Co-authored-by: mtakla <5850775+mtakla@users.noreply.github.com> --- src/api/openapi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/openapi.ts b/src/api/openapi.ts index d13c4d6..96ec5fe 100644 --- a/src/api/openapi.ts +++ b/src/api/openapi.ts @@ -11,7 +11,7 @@ export const openapi = { }, license: { name: "ISC", - url: "https://github.com/mtakla/cronops/blob/master/LICENSE", + url: "https://github.com/mtakla/cronops/blob/main/LICENSE", }, }, components: {