From baaf06297559074cf5ef5cd3a66f63f98364be49 Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Sun, 7 Dec 2025 06:05:00 -0600 Subject: [PATCH] feat: update API documentation and OpenAPI integration - Refactored API documentation generation to utilize the new `fumadocs-openapi` features, including improved error handling and output structure. - Replaced the Authorization security scheme with x-api-key for enhanced API key authentication. - Added new MDX files for various API endpoints, ensuring comprehensive documentation coverage. - Updated the OpenAPI specification to reflect the latest changes in security definitions and response schemas. - Enhanced the documentation generation script to streamline the process and ensure consistency. --- apps/docs-new/content/docs/api/admin.mdx | 19 + apps/docs-new/content/docs/api/ai.mdx | 58 ++ .../docs-new/content/docs/api/application.mdx | 148 ++++ apps/docs-new/content/docs/api/backup.mdx | 68 ++ apps/docs-new/content/docs/api/bitbucket.mdx | 48 ++ .../content/docs/api/certificates.mdx | 33 + apps/docs-new/content/docs/api/cluster.mdx | 33 + apps/docs-new/content/docs/api/compose.mdx | 143 ++++ apps/docs-new/content/docs/api/deployment.mdx | 38 + .../docs-new/content/docs/api/destination.mdx | 43 + apps/docs-new/content/docs/api/docker.mdx | 48 ++ apps/docs-new/content/docs/api/domain.mdx | 58 ++ .../docs-new/content/docs/api/environment.mdx | 43 + apps/docs-new/content/docs/api/gitea.mdx | 53 ++ apps/docs-new/content/docs/api/github.mdx | 43 + apps/docs-new/content/docs/api/gitlab.mdx | 48 ++ .../docs-new/content/docs/api/gitprovider.mdx | 23 + apps/docs-new/content/docs/api/mariadb.mdx | 78 ++ apps/docs-new/content/docs/api/mongo.mdx | 78 ++ apps/docs-new/content/docs/api/mounts.mdx | 38 + apps/docs-new/content/docs/api/mysql.mdx | 78 ++ .../content/docs/api/organization.mdx | 58 ++ apps/docs-new/content/docs/api/port.mdx | 33 + apps/docs-new/content/docs/api/postgres.mdx | 78 ++ apps/docs-new/content/docs/api/project.mdx | 43 + apps/docs-new/content/docs/api/redirects.mdx | 33 + apps/docs-new/content/docs/api/redis.mdx | 78 ++ apps/docs-new/content/docs/api/registry.mdx | 43 + apps/docs-new/content/docs/api/rollback.mdx | 23 + apps/docs-new/content/docs/api/schedule.mdx | 43 + apps/docs-new/content/docs/api/security.mdx | 33 + apps/docs-new/content/docs/api/server.mdx | 93 +++ apps/docs-new/content/docs/api/settings.mdx | 243 ++++++ apps/docs-new/content/docs/api/sshrouter.mdx | 13 + apps/docs-new/content/docs/api/swarm.mdx | 28 + apps/docs-new/content/docs/api/user.mdx | 103 +++ .../content/docs/api/volumebackups.mdx | 43 + apps/docs-new/generate-docs.mjs | 23 +- apps/docs-new/lib/source.ts | 5 +- apps/docs-new/public/openapi.json | 777 +++++++++--------- apps/docs-new/scripts/fix-openapi.mjs | 53 +- 41 files changed, 2657 insertions(+), 408 deletions(-) create mode 100644 apps/docs-new/content/docs/api/admin.mdx create mode 100644 apps/docs-new/content/docs/api/ai.mdx create mode 100644 apps/docs-new/content/docs/api/application.mdx create mode 100644 apps/docs-new/content/docs/api/backup.mdx create mode 100644 apps/docs-new/content/docs/api/bitbucket.mdx create mode 100644 apps/docs-new/content/docs/api/certificates.mdx create mode 100644 apps/docs-new/content/docs/api/cluster.mdx create mode 100644 apps/docs-new/content/docs/api/compose.mdx create mode 100644 apps/docs-new/content/docs/api/deployment.mdx create mode 100644 apps/docs-new/content/docs/api/destination.mdx create mode 100644 apps/docs-new/content/docs/api/docker.mdx create mode 100644 apps/docs-new/content/docs/api/domain.mdx create mode 100644 apps/docs-new/content/docs/api/environment.mdx create mode 100644 apps/docs-new/content/docs/api/gitea.mdx create mode 100644 apps/docs-new/content/docs/api/github.mdx create mode 100644 apps/docs-new/content/docs/api/gitlab.mdx create mode 100644 apps/docs-new/content/docs/api/gitprovider.mdx create mode 100644 apps/docs-new/content/docs/api/mariadb.mdx create mode 100644 apps/docs-new/content/docs/api/mongo.mdx create mode 100644 apps/docs-new/content/docs/api/mounts.mdx create mode 100644 apps/docs-new/content/docs/api/mysql.mdx create mode 100644 apps/docs-new/content/docs/api/organization.mdx create mode 100644 apps/docs-new/content/docs/api/port.mdx create mode 100644 apps/docs-new/content/docs/api/postgres.mdx create mode 100644 apps/docs-new/content/docs/api/project.mdx create mode 100644 apps/docs-new/content/docs/api/redirects.mdx create mode 100644 apps/docs-new/content/docs/api/redis.mdx create mode 100644 apps/docs-new/content/docs/api/registry.mdx create mode 100644 apps/docs-new/content/docs/api/rollback.mdx create mode 100644 apps/docs-new/content/docs/api/schedule.mdx create mode 100644 apps/docs-new/content/docs/api/security.mdx create mode 100644 apps/docs-new/content/docs/api/server.mdx create mode 100644 apps/docs-new/content/docs/api/settings.mdx create mode 100644 apps/docs-new/content/docs/api/sshrouter.mdx create mode 100644 apps/docs-new/content/docs/api/swarm.mdx create mode 100644 apps/docs-new/content/docs/api/user.mdx create mode 100644 apps/docs-new/content/docs/api/volumebackups.mdx diff --git a/apps/docs-new/content/docs/api/admin.mdx b/apps/docs-new/content/docs/api/admin.mdx new file mode 100644 index 0000000..c3f863e --- /dev/null +++ b/apps/docs-new/content/docs/api/admin.mdx @@ -0,0 +1,19 @@ +--- +title: Admin +full: true +_openapi: + method: POST + toc: + - depth: 2 + title: Admin setup Monitoring + url: '#admin-setup-monitoring' + structuredData: + headings: + - content: Admin setup Monitoring + id: admin-setup-monitoring + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/ai.mdx b/apps/docs-new/content/docs/api/ai.mdx new file mode 100644 index 0000000..cacee78 --- /dev/null +++ b/apps/docs-new/content/docs/api/ai.mdx @@ -0,0 +1,58 @@ +--- +title: Ai +full: true +_openapi: + toc: + - depth: 2 + title: Ai one + url: '#ai-one' + - depth: 2 + title: Ai get Models + url: '#ai-get-models' + - depth: 2 + title: Ai create + url: '#ai-create' + - depth: 2 + title: Ai update + url: '#ai-update' + - depth: 2 + title: Ai get All + url: '#ai-get-all' + - depth: 2 + title: Ai get + url: '#ai-get' + - depth: 2 + title: Ai delete + url: '#ai-delete' + - depth: 2 + title: Ai suggest + url: '#ai-suggest' + - depth: 2 + title: Ai deploy + url: '#ai-deploy' + structuredData: + headings: + - content: Ai one + id: ai-one + - content: Ai get Models + id: ai-get-models + - content: Ai create + id: ai-create + - content: Ai update + id: ai-update + - content: Ai get All + id: ai-get-all + - content: Ai get + id: ai-get + - content: Ai delete + id: ai-delete + - content: Ai suggest + id: ai-suggest + - content: Ai deploy + id: ai-deploy + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/application.mdx b/apps/docs-new/content/docs/api/application.mdx new file mode 100644 index 0000000..0cd577e --- /dev/null +++ b/apps/docs-new/content/docs/api/application.mdx @@ -0,0 +1,148 @@ +--- +title: Application +full: true +_openapi: + toc: + - depth: 2 + title: Application create + url: '#application-create' + - depth: 2 + title: Application one + url: '#application-one' + - depth: 2 + title: Application reload + url: '#application-reload' + - depth: 2 + title: Application delete + url: '#application-delete' + - depth: 2 + title: Application stop + url: '#application-stop' + - depth: 2 + title: Application start + url: '#application-start' + - depth: 2 + title: Application redeploy + url: '#application-redeploy' + - depth: 2 + title: Application save Environment + url: '#application-save-environment' + - depth: 2 + title: Application save Build Type + url: '#application-save-build-type' + - depth: 2 + title: Application save Github Provider + url: '#application-save-github-provider' + - depth: 2 + title: Application save Gitlab Provider + url: '#application-save-gitlab-provider' + - depth: 2 + title: Application save Bitbucket Provider + url: '#application-save-bitbucket-provider' + - depth: 2 + title: Application save Gitea Provider + url: '#application-save-gitea-provider' + - depth: 2 + title: Application save Docker Provider + url: '#application-save-docker-provider' + - depth: 2 + title: Application save Git Provider + url: '#application-save-git-provider' + - depth: 2 + title: Application disconnect Git Provider + url: '#application-disconnect-git-provider' + - depth: 2 + title: Application mark Running + url: '#application-mark-running' + - depth: 2 + title: Application update + url: '#application-update' + - depth: 2 + title: Application refresh Token + url: '#application-refresh-token' + - depth: 2 + title: Application deploy + url: '#application-deploy' + - depth: 2 + title: Application clean Queues + url: '#application-clean-queues' + - depth: 2 + title: Application kill Build + url: '#application-kill-build' + - depth: 2 + title: Application read Traefik Config + url: '#application-read-traefik-config' + - depth: 2 + title: Application update Traefik Config + url: '#application-update-traefik-config' + - depth: 2 + title: Application read App Monitoring + url: '#application-read-app-monitoring' + - depth: 2 + title: Application move + url: '#application-move' + - depth: 2 + title: Application cancel Deployment + url: '#application-cancel-deployment' + structuredData: + headings: + - content: Application create + id: application-create + - content: Application one + id: application-one + - content: Application reload + id: application-reload + - content: Application delete + id: application-delete + - content: Application stop + id: application-stop + - content: Application start + id: application-start + - content: Application redeploy + id: application-redeploy + - content: Application save Environment + id: application-save-environment + - content: Application save Build Type + id: application-save-build-type + - content: Application save Github Provider + id: application-save-github-provider + - content: Application save Gitlab Provider + id: application-save-gitlab-provider + - content: Application save Bitbucket Provider + id: application-save-bitbucket-provider + - content: Application save Gitea Provider + id: application-save-gitea-provider + - content: Application save Docker Provider + id: application-save-docker-provider + - content: Application save Git Provider + id: application-save-git-provider + - content: Application disconnect Git Provider + id: application-disconnect-git-provider + - content: Application mark Running + id: application-mark-running + - content: Application update + id: application-update + - content: Application refresh Token + id: application-refresh-token + - content: Application deploy + id: application-deploy + - content: Application clean Queues + id: application-clean-queues + - content: Application kill Build + id: application-kill-build + - content: Application read Traefik Config + id: application-read-traefik-config + - content: Application update Traefik Config + id: application-update-traefik-config + - content: Application read App Monitoring + id: application-read-app-monitoring + - content: Application move + id: application-move + - content: Application cancel Deployment + id: application-cancel-deployment + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/backup.mdx b/apps/docs-new/content/docs/api/backup.mdx new file mode 100644 index 0000000..68e6438 --- /dev/null +++ b/apps/docs-new/content/docs/api/backup.mdx @@ -0,0 +1,68 @@ +--- +title: Backup +full: true +_openapi: + toc: + - depth: 2 + title: Backup create + url: '#backup-create' + - depth: 2 + title: Backup one + url: '#backup-one' + - depth: 2 + title: Backup update + url: '#backup-update' + - depth: 2 + title: Backup remove + url: '#backup-remove' + - depth: 2 + title: Backup manual Backup Postgres + url: '#backup-manual-backup-postgres' + - depth: 2 + title: Backup manual Backup My Sql + url: '#backup-manual-backup-my-sql' + - depth: 2 + title: Backup manual Backup Mariadb + url: '#backup-manual-backup-mariadb' + - depth: 2 + title: Backup manual Backup Compose + url: '#backup-manual-backup-compose' + - depth: 2 + title: Backup manual Backup Mongo + url: '#backup-manual-backup-mongo' + - depth: 2 + title: Backup manual Backup Web Server + url: '#backup-manual-backup-web-server' + - depth: 2 + title: Backup list Backup Files + url: '#backup-list-backup-files' + structuredData: + headings: + - content: Backup create + id: backup-create + - content: Backup one + id: backup-one + - content: Backup update + id: backup-update + - content: Backup remove + id: backup-remove + - content: Backup manual Backup Postgres + id: backup-manual-backup-postgres + - content: Backup manual Backup My Sql + id: backup-manual-backup-my-sql + - content: Backup manual Backup Mariadb + id: backup-manual-backup-mariadb + - content: Backup manual Backup Compose + id: backup-manual-backup-compose + - content: Backup manual Backup Mongo + id: backup-manual-backup-mongo + - content: Backup manual Backup Web Server + id: backup-manual-backup-web-server + - content: Backup list Backup Files + id: backup-list-backup-files + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/bitbucket.mdx b/apps/docs-new/content/docs/api/bitbucket.mdx new file mode 100644 index 0000000..2f6b59c --- /dev/null +++ b/apps/docs-new/content/docs/api/bitbucket.mdx @@ -0,0 +1,48 @@ +--- +title: Bitbucket +full: true +_openapi: + toc: + - depth: 2 + title: Bitbucket create + url: '#bitbucket-create' + - depth: 2 + title: Bitbucket one + url: '#bitbucket-one' + - depth: 2 + title: Bitbucket bitbucket Providers + url: '#bitbucket-bitbucket-providers' + - depth: 2 + title: Bitbucket get Bitbucket Repositories + url: '#bitbucket-get-bitbucket-repositories' + - depth: 2 + title: Bitbucket get Bitbucket Branches + url: '#bitbucket-get-bitbucket-branches' + - depth: 2 + title: Bitbucket test Connection + url: '#bitbucket-test-connection' + - depth: 2 + title: Bitbucket update + url: '#bitbucket-update' + structuredData: + headings: + - content: Bitbucket create + id: bitbucket-create + - content: Bitbucket one + id: bitbucket-one + - content: Bitbucket bitbucket Providers + id: bitbucket-bitbucket-providers + - content: Bitbucket get Bitbucket Repositories + id: bitbucket-get-bitbucket-repositories + - content: Bitbucket get Bitbucket Branches + id: bitbucket-get-bitbucket-branches + - content: Bitbucket test Connection + id: bitbucket-test-connection + - content: Bitbucket update + id: bitbucket-update + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/certificates.mdx b/apps/docs-new/content/docs/api/certificates.mdx new file mode 100644 index 0000000..fc699d6 --- /dev/null +++ b/apps/docs-new/content/docs/api/certificates.mdx @@ -0,0 +1,33 @@ +--- +title: Certificates +full: true +_openapi: + toc: + - depth: 2 + title: Certificates create + url: '#certificates-create' + - depth: 2 + title: Certificates one + url: '#certificates-one' + - depth: 2 + title: Certificates remove + url: '#certificates-remove' + - depth: 2 + title: Certificates all + url: '#certificates-all' + structuredData: + headings: + - content: Certificates create + id: certificates-create + - content: Certificates one + id: certificates-one + - content: Certificates remove + id: certificates-remove + - content: Certificates all + id: certificates-all + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/cluster.mdx b/apps/docs-new/content/docs/api/cluster.mdx new file mode 100644 index 0000000..601dbd3 --- /dev/null +++ b/apps/docs-new/content/docs/api/cluster.mdx @@ -0,0 +1,33 @@ +--- +title: Cluster +full: true +_openapi: + toc: + - depth: 2 + title: Cluster get Nodes + url: '#cluster-get-nodes' + - depth: 2 + title: Cluster remove Worker + url: '#cluster-remove-worker' + - depth: 2 + title: Cluster add Worker + url: '#cluster-add-worker' + - depth: 2 + title: Cluster add Manager + url: '#cluster-add-manager' + structuredData: + headings: + - content: Cluster get Nodes + id: cluster-get-nodes + - content: Cluster remove Worker + id: cluster-remove-worker + - content: Cluster add Worker + id: cluster-add-worker + - content: Cluster add Manager + id: cluster-add-manager + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/compose.mdx b/apps/docs-new/content/docs/api/compose.mdx new file mode 100644 index 0000000..f2a4fa3 --- /dev/null +++ b/apps/docs-new/content/docs/api/compose.mdx @@ -0,0 +1,143 @@ +--- +title: Compose +full: true +_openapi: + toc: + - depth: 2 + title: Compose create + url: '#compose-create' + - depth: 2 + title: Compose one + url: '#compose-one' + - depth: 2 + title: Compose update + url: '#compose-update' + - depth: 2 + title: Compose delete + url: '#compose-delete' + - depth: 2 + title: Compose clean Queues + url: '#compose-clean-queues' + - depth: 2 + title: Compose kill Build + url: '#compose-kill-build' + - depth: 2 + title: Compose load Services + url: '#compose-load-services' + - depth: 2 + title: Compose load Mounts By Service + url: '#compose-load-mounts-by-service' + - depth: 2 + title: Compose fetch Source Type + url: '#compose-fetch-source-type' + - depth: 2 + title: Compose randomize Compose + url: '#compose-randomize-compose' + - depth: 2 + title: Compose isolated Deployment + url: '#compose-isolated-deployment' + - depth: 2 + title: Compose get Converted Compose + url: '#compose-get-converted-compose' + - depth: 2 + title: Compose deploy + url: '#compose-deploy' + - depth: 2 + title: Compose redeploy + url: '#compose-redeploy' + - depth: 2 + title: Compose stop + url: '#compose-stop' + - depth: 2 + title: Compose start + url: '#compose-start' + - depth: 2 + title: Compose get Default Command + url: '#compose-get-default-command' + - depth: 2 + title: Compose refresh Token + url: '#compose-refresh-token' + - depth: 2 + title: Compose deploy Template + url: '#compose-deploy-template' + - depth: 2 + title: Compose templates + url: '#compose-templates' + - depth: 2 + title: Compose get Tags + url: '#compose-get-tags' + - depth: 2 + title: Compose disconnect Git Provider + url: '#compose-disconnect-git-provider' + - depth: 2 + title: Compose move + url: '#compose-move' + - depth: 2 + title: Compose process Template + url: '#compose-process-template' + - depth: 2 + title: Compose import + url: '#compose-import' + - depth: 2 + title: Compose cancel Deployment + url: '#compose-cancel-deployment' + structuredData: + headings: + - content: Compose create + id: compose-create + - content: Compose one + id: compose-one + - content: Compose update + id: compose-update + - content: Compose delete + id: compose-delete + - content: Compose clean Queues + id: compose-clean-queues + - content: Compose kill Build + id: compose-kill-build + - content: Compose load Services + id: compose-load-services + - content: Compose load Mounts By Service + id: compose-load-mounts-by-service + - content: Compose fetch Source Type + id: compose-fetch-source-type + - content: Compose randomize Compose + id: compose-randomize-compose + - content: Compose isolated Deployment + id: compose-isolated-deployment + - content: Compose get Converted Compose + id: compose-get-converted-compose + - content: Compose deploy + id: compose-deploy + - content: Compose redeploy + id: compose-redeploy + - content: Compose stop + id: compose-stop + - content: Compose start + id: compose-start + - content: Compose get Default Command + id: compose-get-default-command + - content: Compose refresh Token + id: compose-refresh-token + - content: Compose deploy Template + id: compose-deploy-template + - content: Compose templates + id: compose-templates + - content: Compose get Tags + id: compose-get-tags + - content: Compose disconnect Git Provider + id: compose-disconnect-git-provider + - content: Compose move + id: compose-move + - content: Compose process Template + id: compose-process-template + - content: Compose import + id: compose-import + - content: Compose cancel Deployment + id: compose-cancel-deployment + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/deployment.mdx b/apps/docs-new/content/docs/api/deployment.mdx new file mode 100644 index 0000000..67a5b8d --- /dev/null +++ b/apps/docs-new/content/docs/api/deployment.mdx @@ -0,0 +1,38 @@ +--- +title: Deployment +full: true +_openapi: + toc: + - depth: 2 + title: Deployment all + url: '#deployment-all' + - depth: 2 + title: Deployment all By Compose + url: '#deployment-all-by-compose' + - depth: 2 + title: Deployment all By Server + url: '#deployment-all-by-server' + - depth: 2 + title: Deployment all By Type + url: '#deployment-all-by-type' + - depth: 2 + title: Deployment kill Process + url: '#deployment-kill-process' + structuredData: + headings: + - content: Deployment all + id: deployment-all + - content: Deployment all By Compose + id: deployment-all-by-compose + - content: Deployment all By Server + id: deployment-all-by-server + - content: Deployment all By Type + id: deployment-all-by-type + - content: Deployment kill Process + id: deployment-kill-process + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/destination.mdx b/apps/docs-new/content/docs/api/destination.mdx new file mode 100644 index 0000000..28c15b4 --- /dev/null +++ b/apps/docs-new/content/docs/api/destination.mdx @@ -0,0 +1,43 @@ +--- +title: Destination +full: true +_openapi: + toc: + - depth: 2 + title: Destination create + url: '#destination-create' + - depth: 2 + title: Destination test Connection + url: '#destination-test-connection' + - depth: 2 + title: Destination one + url: '#destination-one' + - depth: 2 + title: Destination all + url: '#destination-all' + - depth: 2 + title: Destination remove + url: '#destination-remove' + - depth: 2 + title: Destination update + url: '#destination-update' + structuredData: + headings: + - content: Destination create + id: destination-create + - content: Destination test Connection + id: destination-test-connection + - content: Destination one + id: destination-one + - content: Destination all + id: destination-all + - content: Destination remove + id: destination-remove + - content: Destination update + id: destination-update + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/docker.mdx b/apps/docs-new/content/docs/api/docker.mdx new file mode 100644 index 0000000..2aa6c1c --- /dev/null +++ b/apps/docs-new/content/docs/api/docker.mdx @@ -0,0 +1,48 @@ +--- +title: Docker +full: true +_openapi: + toc: + - depth: 2 + title: Docker get Containers + url: '#docker-get-containers' + - depth: 2 + title: Docker restart Container + url: '#docker-restart-container' + - depth: 2 + title: Docker get Config + url: '#docker-get-config' + - depth: 2 + title: Docker get Containers By App Name Match + url: '#docker-get-containers-by-app-name-match' + - depth: 2 + title: Docker get Containers By App Label + url: '#docker-get-containers-by-app-label' + - depth: 2 + title: Docker get Stack Containers By App Name + url: '#docker-get-stack-containers-by-app-name' + - depth: 2 + title: Docker get Service Containers By App Name + url: '#docker-get-service-containers-by-app-name' + structuredData: + headings: + - content: Docker get Containers + id: docker-get-containers + - content: Docker restart Container + id: docker-restart-container + - content: Docker get Config + id: docker-get-config + - content: Docker get Containers By App Name Match + id: docker-get-containers-by-app-name-match + - content: Docker get Containers By App Label + id: docker-get-containers-by-app-label + - content: Docker get Stack Containers By App Name + id: docker-get-stack-containers-by-app-name + - content: Docker get Service Containers By App Name + id: docker-get-service-containers-by-app-name + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/domain.mdx b/apps/docs-new/content/docs/api/domain.mdx new file mode 100644 index 0000000..37cdd26 --- /dev/null +++ b/apps/docs-new/content/docs/api/domain.mdx @@ -0,0 +1,58 @@ +--- +title: Domain +full: true +_openapi: + toc: + - depth: 2 + title: Domain create + url: '#domain-create' + - depth: 2 + title: Domain by Application Id + url: '#domain-by-application-id' + - depth: 2 + title: Domain by Compose Id + url: '#domain-by-compose-id' + - depth: 2 + title: Domain generate Domain + url: '#domain-generate-domain' + - depth: 2 + title: Domain can Generate Traefik Me Domains + url: '#domain-can-generate-traefik-me-domains' + - depth: 2 + title: Domain update + url: '#domain-update' + - depth: 2 + title: Domain one + url: '#domain-one' + - depth: 2 + title: Domain delete + url: '#domain-delete' + - depth: 2 + title: Domain validate Domain + url: '#domain-validate-domain' + structuredData: + headings: + - content: Domain create + id: domain-create + - content: Domain by Application Id + id: domain-by-application-id + - content: Domain by Compose Id + id: domain-by-compose-id + - content: Domain generate Domain + id: domain-generate-domain + - content: Domain can Generate Traefik Me Domains + id: domain-can-generate-traefik-me-domains + - content: Domain update + id: domain-update + - content: Domain one + id: domain-one + - content: Domain delete + id: domain-delete + - content: Domain validate Domain + id: domain-validate-domain + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/environment.mdx b/apps/docs-new/content/docs/api/environment.mdx new file mode 100644 index 0000000..b3afe7b --- /dev/null +++ b/apps/docs-new/content/docs/api/environment.mdx @@ -0,0 +1,43 @@ +--- +title: Environment +full: true +_openapi: + toc: + - depth: 2 + title: Environment create + url: '#environment-create' + - depth: 2 + title: Environment one + url: '#environment-one' + - depth: 2 + title: Environment by Project Id + url: '#environment-by-project-id' + - depth: 2 + title: Environment remove + url: '#environment-remove' + - depth: 2 + title: Environment update + url: '#environment-update' + - depth: 2 + title: Environment duplicate + url: '#environment-duplicate' + structuredData: + headings: + - content: Environment create + id: environment-create + - content: Environment one + id: environment-one + - content: Environment by Project Id + id: environment-by-project-id + - content: Environment remove + id: environment-remove + - content: Environment update + id: environment-update + - content: Environment duplicate + id: environment-duplicate + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/gitea.mdx b/apps/docs-new/content/docs/api/gitea.mdx new file mode 100644 index 0000000..cd68119 --- /dev/null +++ b/apps/docs-new/content/docs/api/gitea.mdx @@ -0,0 +1,53 @@ +--- +title: Gitea +full: true +_openapi: + toc: + - depth: 2 + title: Gitea create + url: '#gitea-create' + - depth: 2 + title: Gitea one + url: '#gitea-one' + - depth: 2 + title: Gitea gitea Providers + url: '#gitea-gitea-providers' + - depth: 2 + title: Gitea get Gitea Repositories + url: '#gitea-get-gitea-repositories' + - depth: 2 + title: Gitea get Gitea Branches + url: '#gitea-get-gitea-branches' + - depth: 2 + title: Gitea test Connection + url: '#gitea-test-connection' + - depth: 2 + title: Gitea update + url: '#gitea-update' + - depth: 2 + title: Gitea get Gitea Url + url: '#gitea-get-gitea-url' + structuredData: + headings: + - content: Gitea create + id: gitea-create + - content: Gitea one + id: gitea-one + - content: Gitea gitea Providers + id: gitea-gitea-providers + - content: Gitea get Gitea Repositories + id: gitea-get-gitea-repositories + - content: Gitea get Gitea Branches + id: gitea-get-gitea-branches + - content: Gitea test Connection + id: gitea-test-connection + - content: Gitea update + id: gitea-update + - content: Gitea get Gitea Url + id: gitea-get-gitea-url + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/github.mdx b/apps/docs-new/content/docs/api/github.mdx new file mode 100644 index 0000000..86e6225 --- /dev/null +++ b/apps/docs-new/content/docs/api/github.mdx @@ -0,0 +1,43 @@ +--- +title: Github +full: true +_openapi: + toc: + - depth: 2 + title: Github one + url: '#github-one' + - depth: 2 + title: Github get Github Repositories + url: '#github-get-github-repositories' + - depth: 2 + title: Github get Github Branches + url: '#github-get-github-branches' + - depth: 2 + title: Github github Providers + url: '#github-github-providers' + - depth: 2 + title: Github test Connection + url: '#github-test-connection' + - depth: 2 + title: Github update + url: '#github-update' + structuredData: + headings: + - content: Github one + id: github-one + - content: Github get Github Repositories + id: github-get-github-repositories + - content: Github get Github Branches + id: github-get-github-branches + - content: Github github Providers + id: github-github-providers + - content: Github test Connection + id: github-test-connection + - content: Github update + id: github-update + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/gitlab.mdx b/apps/docs-new/content/docs/api/gitlab.mdx new file mode 100644 index 0000000..2dd86ac --- /dev/null +++ b/apps/docs-new/content/docs/api/gitlab.mdx @@ -0,0 +1,48 @@ +--- +title: Gitlab +full: true +_openapi: + toc: + - depth: 2 + title: Gitlab create + url: '#gitlab-create' + - depth: 2 + title: Gitlab one + url: '#gitlab-one' + - depth: 2 + title: Gitlab gitlab Providers + url: '#gitlab-gitlab-providers' + - depth: 2 + title: Gitlab get Gitlab Repositories + url: '#gitlab-get-gitlab-repositories' + - depth: 2 + title: Gitlab get Gitlab Branches + url: '#gitlab-get-gitlab-branches' + - depth: 2 + title: Gitlab test Connection + url: '#gitlab-test-connection' + - depth: 2 + title: Gitlab update + url: '#gitlab-update' + structuredData: + headings: + - content: Gitlab create + id: gitlab-create + - content: Gitlab one + id: gitlab-one + - content: Gitlab gitlab Providers + id: gitlab-gitlab-providers + - content: Gitlab get Gitlab Repositories + id: gitlab-get-gitlab-repositories + - content: Gitlab get Gitlab Branches + id: gitlab-get-gitlab-branches + - content: Gitlab test Connection + id: gitlab-test-connection + - content: Gitlab update + id: gitlab-update + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/gitprovider.mdx b/apps/docs-new/content/docs/api/gitprovider.mdx new file mode 100644 index 0000000..fc9aa47 --- /dev/null +++ b/apps/docs-new/content/docs/api/gitprovider.mdx @@ -0,0 +1,23 @@ +--- +title: Git Provider +full: true +_openapi: + toc: + - depth: 2 + title: Git Provider get All + url: '#git-provider-get-all' + - depth: 2 + title: Git Provider remove + url: '#git-provider-remove' + structuredData: + headings: + - content: Git Provider get All + id: git-provider-get-all + - content: Git Provider remove + id: git-provider-remove + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/mariadb.mdx b/apps/docs-new/content/docs/api/mariadb.mdx new file mode 100644 index 0000000..9bc53e1 --- /dev/null +++ b/apps/docs-new/content/docs/api/mariadb.mdx @@ -0,0 +1,78 @@ +--- +title: Mariadb +full: true +_openapi: + toc: + - depth: 2 + title: Mariadb create + url: '#mariadb-create' + - depth: 2 + title: Mariadb one + url: '#mariadb-one' + - depth: 2 + title: Mariadb start + url: '#mariadb-start' + - depth: 2 + title: Mariadb stop + url: '#mariadb-stop' + - depth: 2 + title: Mariadb save External Port + url: '#mariadb-save-external-port' + - depth: 2 + title: Mariadb deploy + url: '#mariadb-deploy' + - depth: 2 + title: Mariadb change Status + url: '#mariadb-change-status' + - depth: 2 + title: Mariadb remove + url: '#mariadb-remove' + - depth: 2 + title: Mariadb save Environment + url: '#mariadb-save-environment' + - depth: 2 + title: Mariadb reload + url: '#mariadb-reload' + - depth: 2 + title: Mariadb update + url: '#mariadb-update' + - depth: 2 + title: Mariadb move + url: '#mariadb-move' + - depth: 2 + title: Mariadb rebuild + url: '#mariadb-rebuild' + structuredData: + headings: + - content: Mariadb create + id: mariadb-create + - content: Mariadb one + id: mariadb-one + - content: Mariadb start + id: mariadb-start + - content: Mariadb stop + id: mariadb-stop + - content: Mariadb save External Port + id: mariadb-save-external-port + - content: Mariadb deploy + id: mariadb-deploy + - content: Mariadb change Status + id: mariadb-change-status + - content: Mariadb remove + id: mariadb-remove + - content: Mariadb save Environment + id: mariadb-save-environment + - content: Mariadb reload + id: mariadb-reload + - content: Mariadb update + id: mariadb-update + - content: Mariadb move + id: mariadb-move + - content: Mariadb rebuild + id: mariadb-rebuild + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/mongo.mdx b/apps/docs-new/content/docs/api/mongo.mdx new file mode 100644 index 0000000..019c0c2 --- /dev/null +++ b/apps/docs-new/content/docs/api/mongo.mdx @@ -0,0 +1,78 @@ +--- +title: Mongo +full: true +_openapi: + toc: + - depth: 2 + title: Mongo create + url: '#mongo-create' + - depth: 2 + title: Mongo one + url: '#mongo-one' + - depth: 2 + title: Mongo start + url: '#mongo-start' + - depth: 2 + title: Mongo stop + url: '#mongo-stop' + - depth: 2 + title: Mongo save External Port + url: '#mongo-save-external-port' + - depth: 2 + title: Mongo deploy + url: '#mongo-deploy' + - depth: 2 + title: Mongo change Status + url: '#mongo-change-status' + - depth: 2 + title: Mongo reload + url: '#mongo-reload' + - depth: 2 + title: Mongo remove + url: '#mongo-remove' + - depth: 2 + title: Mongo save Environment + url: '#mongo-save-environment' + - depth: 2 + title: Mongo update + url: '#mongo-update' + - depth: 2 + title: Mongo move + url: '#mongo-move' + - depth: 2 + title: Mongo rebuild + url: '#mongo-rebuild' + structuredData: + headings: + - content: Mongo create + id: mongo-create + - content: Mongo one + id: mongo-one + - content: Mongo start + id: mongo-start + - content: Mongo stop + id: mongo-stop + - content: Mongo save External Port + id: mongo-save-external-port + - content: Mongo deploy + id: mongo-deploy + - content: Mongo change Status + id: mongo-change-status + - content: Mongo reload + id: mongo-reload + - content: Mongo remove + id: mongo-remove + - content: Mongo save Environment + id: mongo-save-environment + - content: Mongo update + id: mongo-update + - content: Mongo move + id: mongo-move + - content: Mongo rebuild + id: mongo-rebuild + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/mounts.mdx b/apps/docs-new/content/docs/api/mounts.mdx new file mode 100644 index 0000000..f0308b4 --- /dev/null +++ b/apps/docs-new/content/docs/api/mounts.mdx @@ -0,0 +1,38 @@ +--- +title: Mounts +full: true +_openapi: + toc: + - depth: 2 + title: Mounts create + url: '#mounts-create' + - depth: 2 + title: Mounts remove + url: '#mounts-remove' + - depth: 2 + title: Mounts one + url: '#mounts-one' + - depth: 2 + title: Mounts update + url: '#mounts-update' + - depth: 2 + title: Mounts all Named By Application Id + url: '#mounts-all-named-by-application-id' + structuredData: + headings: + - content: Mounts create + id: mounts-create + - content: Mounts remove + id: mounts-remove + - content: Mounts one + id: mounts-one + - content: Mounts update + id: mounts-update + - content: Mounts all Named By Application Id + id: mounts-all-named-by-application-id + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/mysql.mdx b/apps/docs-new/content/docs/api/mysql.mdx new file mode 100644 index 0000000..35ed666 --- /dev/null +++ b/apps/docs-new/content/docs/api/mysql.mdx @@ -0,0 +1,78 @@ +--- +title: Mysql +full: true +_openapi: + toc: + - depth: 2 + title: Mysql create + url: '#mysql-create' + - depth: 2 + title: Mysql one + url: '#mysql-one' + - depth: 2 + title: Mysql start + url: '#mysql-start' + - depth: 2 + title: Mysql stop + url: '#mysql-stop' + - depth: 2 + title: Mysql save External Port + url: '#mysql-save-external-port' + - depth: 2 + title: Mysql deploy + url: '#mysql-deploy' + - depth: 2 + title: Mysql change Status + url: '#mysql-change-status' + - depth: 2 + title: Mysql reload + url: '#mysql-reload' + - depth: 2 + title: Mysql remove + url: '#mysql-remove' + - depth: 2 + title: Mysql save Environment + url: '#mysql-save-environment' + - depth: 2 + title: Mysql update + url: '#mysql-update' + - depth: 2 + title: Mysql move + url: '#mysql-move' + - depth: 2 + title: Mysql rebuild + url: '#mysql-rebuild' + structuredData: + headings: + - content: Mysql create + id: mysql-create + - content: Mysql one + id: mysql-one + - content: Mysql start + id: mysql-start + - content: Mysql stop + id: mysql-stop + - content: Mysql save External Port + id: mysql-save-external-port + - content: Mysql deploy + id: mysql-deploy + - content: Mysql change Status + id: mysql-change-status + - content: Mysql reload + id: mysql-reload + - content: Mysql remove + id: mysql-remove + - content: Mysql save Environment + id: mysql-save-environment + - content: Mysql update + id: mysql-update + - content: Mysql move + id: mysql-move + - content: Mysql rebuild + id: mysql-rebuild + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/organization.mdx b/apps/docs-new/content/docs/api/organization.mdx new file mode 100644 index 0000000..338660b --- /dev/null +++ b/apps/docs-new/content/docs/api/organization.mdx @@ -0,0 +1,58 @@ +--- +title: Organization +full: true +_openapi: + toc: + - depth: 2 + title: Organization create + url: '#organization-create' + - depth: 2 + title: Organization all + url: '#organization-all' + - depth: 2 + title: Organization one + url: '#organization-one' + - depth: 2 + title: Organization update + url: '#organization-update' + - depth: 2 + title: Organization delete + url: '#organization-delete' + - depth: 2 + title: Organization all Invitations + url: '#organization-all-invitations' + - depth: 2 + title: Organization remove Invitation + url: '#organization-remove-invitation' + - depth: 2 + title: Organization update Member Role + url: '#organization-update-member-role' + - depth: 2 + title: Organization set Default + url: '#organization-set-default' + structuredData: + headings: + - content: Organization create + id: organization-create + - content: Organization all + id: organization-all + - content: Organization one + id: organization-one + - content: Organization update + id: organization-update + - content: Organization delete + id: organization-delete + - content: Organization all Invitations + id: organization-all-invitations + - content: Organization remove Invitation + id: organization-remove-invitation + - content: Organization update Member Role + id: organization-update-member-role + - content: Organization set Default + id: organization-set-default + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/port.mdx b/apps/docs-new/content/docs/api/port.mdx new file mode 100644 index 0000000..7687be7 --- /dev/null +++ b/apps/docs-new/content/docs/api/port.mdx @@ -0,0 +1,33 @@ +--- +title: Port +full: true +_openapi: + toc: + - depth: 2 + title: Port create + url: '#port-create' + - depth: 2 + title: Port one + url: '#port-one' + - depth: 2 + title: Port delete + url: '#port-delete' + - depth: 2 + title: Port update + url: '#port-update' + structuredData: + headings: + - content: Port create + id: port-create + - content: Port one + id: port-one + - content: Port delete + id: port-delete + - content: Port update + id: port-update + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/postgres.mdx b/apps/docs-new/content/docs/api/postgres.mdx new file mode 100644 index 0000000..cf8ef92 --- /dev/null +++ b/apps/docs-new/content/docs/api/postgres.mdx @@ -0,0 +1,78 @@ +--- +title: Postgres +full: true +_openapi: + toc: + - depth: 2 + title: Postgres create + url: '#postgres-create' + - depth: 2 + title: Postgres one + url: '#postgres-one' + - depth: 2 + title: Postgres start + url: '#postgres-start' + - depth: 2 + title: Postgres stop + url: '#postgres-stop' + - depth: 2 + title: Postgres save External Port + url: '#postgres-save-external-port' + - depth: 2 + title: Postgres deploy + url: '#postgres-deploy' + - depth: 2 + title: Postgres change Status + url: '#postgres-change-status' + - depth: 2 + title: Postgres remove + url: '#postgres-remove' + - depth: 2 + title: Postgres save Environment + url: '#postgres-save-environment' + - depth: 2 + title: Postgres reload + url: '#postgres-reload' + - depth: 2 + title: Postgres update + url: '#postgres-update' + - depth: 2 + title: Postgres move + url: '#postgres-move' + - depth: 2 + title: Postgres rebuild + url: '#postgres-rebuild' + structuredData: + headings: + - content: Postgres create + id: postgres-create + - content: Postgres one + id: postgres-one + - content: Postgres start + id: postgres-start + - content: Postgres stop + id: postgres-stop + - content: Postgres save External Port + id: postgres-save-external-port + - content: Postgres deploy + id: postgres-deploy + - content: Postgres change Status + id: postgres-change-status + - content: Postgres remove + id: postgres-remove + - content: Postgres save Environment + id: postgres-save-environment + - content: Postgres reload + id: postgres-reload + - content: Postgres update + id: postgres-update + - content: Postgres move + id: postgres-move + - content: Postgres rebuild + id: postgres-rebuild + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/project.mdx b/apps/docs-new/content/docs/api/project.mdx new file mode 100644 index 0000000..b138c7c --- /dev/null +++ b/apps/docs-new/content/docs/api/project.mdx @@ -0,0 +1,43 @@ +--- +title: Project +full: true +_openapi: + toc: + - depth: 2 + title: Project create + url: '#project-create' + - depth: 2 + title: Project one + url: '#project-one' + - depth: 2 + title: Project all + url: '#project-all' + - depth: 2 + title: Project remove + url: '#project-remove' + - depth: 2 + title: Project update + url: '#project-update' + - depth: 2 + title: Project duplicate + url: '#project-duplicate' + structuredData: + headings: + - content: Project create + id: project-create + - content: Project one + id: project-one + - content: Project all + id: project-all + - content: Project remove + id: project-remove + - content: Project update + id: project-update + - content: Project duplicate + id: project-duplicate + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/redirects.mdx b/apps/docs-new/content/docs/api/redirects.mdx new file mode 100644 index 0000000..ae29464 --- /dev/null +++ b/apps/docs-new/content/docs/api/redirects.mdx @@ -0,0 +1,33 @@ +--- +title: Redirects +full: true +_openapi: + toc: + - depth: 2 + title: Redirects create + url: '#redirects-create' + - depth: 2 + title: Redirects one + url: '#redirects-one' + - depth: 2 + title: Redirects delete + url: '#redirects-delete' + - depth: 2 + title: Redirects update + url: '#redirects-update' + structuredData: + headings: + - content: Redirects create + id: redirects-create + - content: Redirects one + id: redirects-one + - content: Redirects delete + id: redirects-delete + - content: Redirects update + id: redirects-update + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/redis.mdx b/apps/docs-new/content/docs/api/redis.mdx new file mode 100644 index 0000000..55c1459 --- /dev/null +++ b/apps/docs-new/content/docs/api/redis.mdx @@ -0,0 +1,78 @@ +--- +title: Redis +full: true +_openapi: + toc: + - depth: 2 + title: Redis create + url: '#redis-create' + - depth: 2 + title: Redis one + url: '#redis-one' + - depth: 2 + title: Redis start + url: '#redis-start' + - depth: 2 + title: Redis reload + url: '#redis-reload' + - depth: 2 + title: Redis stop + url: '#redis-stop' + - depth: 2 + title: Redis save External Port + url: '#redis-save-external-port' + - depth: 2 + title: Redis deploy + url: '#redis-deploy' + - depth: 2 + title: Redis change Status + url: '#redis-change-status' + - depth: 2 + title: Redis remove + url: '#redis-remove' + - depth: 2 + title: Redis save Environment + url: '#redis-save-environment' + - depth: 2 + title: Redis update + url: '#redis-update' + - depth: 2 + title: Redis move + url: '#redis-move' + - depth: 2 + title: Redis rebuild + url: '#redis-rebuild' + structuredData: + headings: + - content: Redis create + id: redis-create + - content: Redis one + id: redis-one + - content: Redis start + id: redis-start + - content: Redis reload + id: redis-reload + - content: Redis stop + id: redis-stop + - content: Redis save External Port + id: redis-save-external-port + - content: Redis deploy + id: redis-deploy + - content: Redis change Status + id: redis-change-status + - content: Redis remove + id: redis-remove + - content: Redis save Environment + id: redis-save-environment + - content: Redis update + id: redis-update + - content: Redis move + id: redis-move + - content: Redis rebuild + id: redis-rebuild + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/registry.mdx b/apps/docs-new/content/docs/api/registry.mdx new file mode 100644 index 0000000..356a5d8 --- /dev/null +++ b/apps/docs-new/content/docs/api/registry.mdx @@ -0,0 +1,43 @@ +--- +title: Registry +full: true +_openapi: + toc: + - depth: 2 + title: Registry create + url: '#registry-create' + - depth: 2 + title: Registry remove + url: '#registry-remove' + - depth: 2 + title: Registry update + url: '#registry-update' + - depth: 2 + title: Registry all + url: '#registry-all' + - depth: 2 + title: Registry one + url: '#registry-one' + - depth: 2 + title: Registry test Registry + url: '#registry-test-registry' + structuredData: + headings: + - content: Registry create + id: registry-create + - content: Registry remove + id: registry-remove + - content: Registry update + id: registry-update + - content: Registry all + id: registry-all + - content: Registry one + id: registry-one + - content: Registry test Registry + id: registry-test-registry + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/rollback.mdx b/apps/docs-new/content/docs/api/rollback.mdx new file mode 100644 index 0000000..33e3c18 --- /dev/null +++ b/apps/docs-new/content/docs/api/rollback.mdx @@ -0,0 +1,23 @@ +--- +title: Rollback +full: true +_openapi: + toc: + - depth: 2 + title: Rollback delete + url: '#rollback-delete' + - depth: 2 + title: Rollback rollback + url: '#rollback-rollback' + structuredData: + headings: + - content: Rollback delete + id: rollback-delete + - content: Rollback rollback + id: rollback-rollback + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/schedule.mdx b/apps/docs-new/content/docs/api/schedule.mdx new file mode 100644 index 0000000..9e0f1a8 --- /dev/null +++ b/apps/docs-new/content/docs/api/schedule.mdx @@ -0,0 +1,43 @@ +--- +title: Schedule +full: true +_openapi: + toc: + - depth: 2 + title: Schedule create + url: '#schedule-create' + - depth: 2 + title: Schedule update + url: '#schedule-update' + - depth: 2 + title: Schedule delete + url: '#schedule-delete' + - depth: 2 + title: Schedule list + url: '#schedule-list' + - depth: 2 + title: Schedule one + url: '#schedule-one' + - depth: 2 + title: Schedule run Manually + url: '#schedule-run-manually' + structuredData: + headings: + - content: Schedule create + id: schedule-create + - content: Schedule update + id: schedule-update + - content: Schedule delete + id: schedule-delete + - content: Schedule list + id: schedule-list + - content: Schedule one + id: schedule-one + - content: Schedule run Manually + id: schedule-run-manually + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/security.mdx b/apps/docs-new/content/docs/api/security.mdx new file mode 100644 index 0000000..0480629 --- /dev/null +++ b/apps/docs-new/content/docs/api/security.mdx @@ -0,0 +1,33 @@ +--- +title: Security +full: true +_openapi: + toc: + - depth: 2 + title: Security create + url: '#security-create' + - depth: 2 + title: Security one + url: '#security-one' + - depth: 2 + title: Security delete + url: '#security-delete' + - depth: 2 + title: Security update + url: '#security-update' + structuredData: + headings: + - content: Security create + id: security-create + - content: Security one + id: security-one + - content: Security delete + id: security-delete + - content: Security update + id: security-update + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/server.mdx b/apps/docs-new/content/docs/api/server.mdx new file mode 100644 index 0000000..556cdb0 --- /dev/null +++ b/apps/docs-new/content/docs/api/server.mdx @@ -0,0 +1,93 @@ +--- +title: Server +full: true +_openapi: + toc: + - depth: 2 + title: Server create + url: '#server-create' + - depth: 2 + title: Server one + url: '#server-one' + - depth: 2 + title: Server get Default Command + url: '#server-get-default-command' + - depth: 2 + title: Server all + url: '#server-all' + - depth: 2 + title: Server count + url: '#server-count' + - depth: 2 + title: Server with S S H Key + url: '#server-with-s-s-h-key' + - depth: 2 + title: Server build Servers + url: '#server-build-servers' + - depth: 2 + title: Server setup + url: '#server-setup' + - depth: 2 + title: Server validate + url: '#server-validate' + - depth: 2 + title: Server security + url: '#server-security' + - depth: 2 + title: Server setup Monitoring + url: '#server-setup-monitoring' + - depth: 2 + title: Server remove + url: '#server-remove' + - depth: 2 + title: Server update + url: '#server-update' + - depth: 2 + title: Server public Ip + url: '#server-public-ip' + - depth: 2 + title: Server get Server Time + url: '#server-get-server-time' + - depth: 2 + title: Server get Server Metrics + url: '#server-get-server-metrics' + structuredData: + headings: + - content: Server create + id: server-create + - content: Server one + id: server-one + - content: Server get Default Command + id: server-get-default-command + - content: Server all + id: server-all + - content: Server count + id: server-count + - content: Server with S S H Key + id: server-with-s-s-h-key + - content: Server build Servers + id: server-build-servers + - content: Server setup + id: server-setup + - content: Server validate + id: server-validate + - content: Server security + id: server-security + - content: Server setup Monitoring + id: server-setup-monitoring + - content: Server remove + id: server-remove + - content: Server update + id: server-update + - content: Server public Ip + id: server-public-ip + - content: Server get Server Time + id: server-get-server-time + - content: Server get Server Metrics + id: server-get-server-metrics + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/settings.mdx b/apps/docs-new/content/docs/api/settings.mdx new file mode 100644 index 0000000..53ba081 --- /dev/null +++ b/apps/docs-new/content/docs/api/settings.mdx @@ -0,0 +1,243 @@ +--- +title: Settings +full: true +_openapi: + toc: + - depth: 2 + title: Settings reload Server + url: '#settings-reload-server' + - depth: 2 + title: Settings clean Redis + url: '#settings-clean-redis' + - depth: 2 + title: Settings reload Redis + url: '#settings-reload-redis' + - depth: 2 + title: Settings reload Traefik + url: '#settings-reload-traefik' + - depth: 2 + title: Settings toggle Dashboard + url: '#settings-toggle-dashboard' + - depth: 2 + title: Settings clean Unused Images + url: '#settings-clean-unused-images' + - depth: 2 + title: Settings clean Unused Volumes + url: '#settings-clean-unused-volumes' + - depth: 2 + title: Settings clean Stopped Containers + url: '#settings-clean-stopped-containers' + - depth: 2 + title: Settings clean Docker Builder + url: '#settings-clean-docker-builder' + - depth: 2 + title: Settings clean Docker Prune + url: '#settings-clean-docker-prune' + - depth: 2 + title: Settings clean All + url: '#settings-clean-all' + - depth: 2 + title: Settings clean Monitoring + url: '#settings-clean-monitoring' + - depth: 2 + title: Settings save S S H Private Key + url: '#settings-save-s-s-h-private-key' + - depth: 2 + title: Settings assign Domain Server + url: '#settings-assign-domain-server' + - depth: 2 + title: Settings clean S S H Private Key + url: '#settings-clean-s-s-h-private-key' + - depth: 2 + title: Settings update Docker Cleanup + url: '#settings-update-docker-cleanup' + - depth: 2 + title: Settings read Traefik Config + url: '#settings-read-traefik-config' + - depth: 2 + title: Settings update Traefik Config + url: '#settings-update-traefik-config' + - depth: 2 + title: Settings read Web Server Traefik Config + url: '#settings-read-web-server-traefik-config' + - depth: 2 + title: Settings update Web Server Traefik Config + url: '#settings-update-web-server-traefik-config' + - depth: 2 + title: Settings read Middleware Traefik Config + url: '#settings-read-middleware-traefik-config' + - depth: 2 + title: Settings update Middleware Traefik Config + url: '#settings-update-middleware-traefik-config' + - depth: 2 + title: Settings get Update Data + url: '#settings-get-update-data' + - depth: 2 + title: Settings update Server + url: '#settings-update-server' + - depth: 2 + title: Settings get Dokploy Version + url: '#settings-get-dokploy-version' + - depth: 2 + title: Settings get Release Tag + url: '#settings-get-release-tag' + - depth: 2 + title: Settings read Directories + url: '#settings-read-directories' + - depth: 2 + title: Settings update Traefik File + url: '#settings-update-traefik-file' + - depth: 2 + title: Settings read Traefik File + url: '#settings-read-traefik-file' + - depth: 2 + title: Settings get Ip + url: '#settings-get-ip' + - depth: 2 + title: Settings get Open Api Document + url: '#settings-get-open-api-document' + - depth: 2 + title: Settings read Traefik Env + url: '#settings-read-traefik-env' + - depth: 2 + title: Settings write Traefik Env + url: '#settings-write-traefik-env' + - depth: 2 + title: Settings have Traefik Dashboard Port Enabled + url: '#settings-have-traefik-dashboard-port-enabled' + - depth: 2 + title: Settings have Activate Requests + url: '#settings-have-activate-requests' + - depth: 2 + title: Settings toggle Requests + url: '#settings-toggle-requests' + - depth: 2 + title: Settings is Cloud + url: '#settings-is-cloud' + - depth: 2 + title: Settings is User Subscribed + url: '#settings-is-user-subscribed' + - depth: 2 + title: Settings health + url: '#settings-health' + - depth: 2 + title: Settings setup G P U + url: '#settings-setup-g-p-u' + - depth: 2 + title: Settings check G P U Status + url: '#settings-check-g-p-u-status' + - depth: 2 + title: Settings update Traefik Ports + url: '#settings-update-traefik-ports' + - depth: 2 + title: Settings get Traefik Ports + url: '#settings-get-traefik-ports' + - depth: 2 + title: Settings update Log Cleanup + url: '#settings-update-log-cleanup' + - depth: 2 + title: Settings get Log Cleanup Status + url: '#settings-get-log-cleanup-status' + - depth: 2 + title: Settings get Dokploy Cloud Ips + url: '#settings-get-dokploy-cloud-ips' + structuredData: + headings: + - content: Settings reload Server + id: settings-reload-server + - content: Settings clean Redis + id: settings-clean-redis + - content: Settings reload Redis + id: settings-reload-redis + - content: Settings reload Traefik + id: settings-reload-traefik + - content: Settings toggle Dashboard + id: settings-toggle-dashboard + - content: Settings clean Unused Images + id: settings-clean-unused-images + - content: Settings clean Unused Volumes + id: settings-clean-unused-volumes + - content: Settings clean Stopped Containers + id: settings-clean-stopped-containers + - content: Settings clean Docker Builder + id: settings-clean-docker-builder + - content: Settings clean Docker Prune + id: settings-clean-docker-prune + - content: Settings clean All + id: settings-clean-all + - content: Settings clean Monitoring + id: settings-clean-monitoring + - content: Settings save S S H Private Key + id: settings-save-s-s-h-private-key + - content: Settings assign Domain Server + id: settings-assign-domain-server + - content: Settings clean S S H Private Key + id: settings-clean-s-s-h-private-key + - content: Settings update Docker Cleanup + id: settings-update-docker-cleanup + - content: Settings read Traefik Config + id: settings-read-traefik-config + - content: Settings update Traefik Config + id: settings-update-traefik-config + - content: Settings read Web Server Traefik Config + id: settings-read-web-server-traefik-config + - content: Settings update Web Server Traefik Config + id: settings-update-web-server-traefik-config + - content: Settings read Middleware Traefik Config + id: settings-read-middleware-traefik-config + - content: Settings update Middleware Traefik Config + id: settings-update-middleware-traefik-config + - content: Settings get Update Data + id: settings-get-update-data + - content: Settings update Server + id: settings-update-server + - content: Settings get Dokploy Version + id: settings-get-dokploy-version + - content: Settings get Release Tag + id: settings-get-release-tag + - content: Settings read Directories + id: settings-read-directories + - content: Settings update Traefik File + id: settings-update-traefik-file + - content: Settings read Traefik File + id: settings-read-traefik-file + - content: Settings get Ip + id: settings-get-ip + - content: Settings get Open Api Document + id: settings-get-open-api-document + - content: Settings read Traefik Env + id: settings-read-traefik-env + - content: Settings write Traefik Env + id: settings-write-traefik-env + - content: Settings have Traefik Dashboard Port Enabled + id: settings-have-traefik-dashboard-port-enabled + - content: Settings have Activate Requests + id: settings-have-activate-requests + - content: Settings toggle Requests + id: settings-toggle-requests + - content: Settings is Cloud + id: settings-is-cloud + - content: Settings is User Subscribed + id: settings-is-user-subscribed + - content: Settings health + id: settings-health + - content: Settings setup G P U + id: settings-setup-g-p-u + - content: Settings check G P U Status + id: settings-check-g-p-u-status + - content: Settings update Traefik Ports + id: settings-update-traefik-ports + - content: Settings get Traefik Ports + id: settings-get-traefik-ports + - content: Settings update Log Cleanup + id: settings-update-log-cleanup + - content: Settings get Log Cleanup Status + id: settings-get-log-cleanup-status + - content: Settings get Dokploy Cloud Ips + id: settings-get-dokploy-cloud-ips + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/sshrouter.mdx b/apps/docs-new/content/docs/api/sshrouter.mdx new file mode 100644 index 0000000..6c45a14 --- /dev/null +++ b/apps/docs-new/content/docs/api/sshrouter.mdx @@ -0,0 +1,13 @@ +--- +title: Ssh Router +full: true +_openapi: + toc: [] + structuredData: + headings: [] + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/swarm.mdx b/apps/docs-new/content/docs/api/swarm.mdx new file mode 100644 index 0000000..8126abf --- /dev/null +++ b/apps/docs-new/content/docs/api/swarm.mdx @@ -0,0 +1,28 @@ +--- +title: Swarm +full: true +_openapi: + toc: + - depth: 2 + title: Swarm get Nodes + url: '#swarm-get-nodes' + - depth: 2 + title: Swarm get Node Info + url: '#swarm-get-node-info' + - depth: 2 + title: Swarm get Node Apps + url: '#swarm-get-node-apps' + structuredData: + headings: + - content: Swarm get Nodes + id: swarm-get-nodes + - content: Swarm get Node Info + id: swarm-get-node-info + - content: Swarm get Node Apps + id: swarm-get-node-apps + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/user.mdx b/apps/docs-new/content/docs/api/user.mdx new file mode 100644 index 0000000..ce713d7 --- /dev/null +++ b/apps/docs-new/content/docs/api/user.mdx @@ -0,0 +1,103 @@ +--- +title: User +full: true +_openapi: + toc: + - depth: 2 + title: User all + url: '#user-all' + - depth: 2 + title: User one + url: '#user-one' + - depth: 2 + title: User get + url: '#user-get' + - depth: 2 + title: User have Root Access + url: '#user-have-root-access' + - depth: 2 + title: User get Backups + url: '#user-get-backups' + - depth: 2 + title: User get Server Metrics + url: '#user-get-server-metrics' + - depth: 2 + title: User update + url: '#user-update' + - depth: 2 + title: User get User By Token + url: '#user-get-user-by-token' + - depth: 2 + title: User get Metrics Token + url: '#user-get-metrics-token' + - depth: 2 + title: User remove + url: '#user-remove' + - depth: 2 + title: User assign Permissions + url: '#user-assign-permissions' + - depth: 2 + title: User get Invitations + url: '#user-get-invitations' + - depth: 2 + title: User get Container Metrics + url: '#user-get-container-metrics' + - depth: 2 + title: User generate Token + url: '#user-generate-token' + - depth: 2 + title: User delete Api Key + url: '#user-delete-api-key' + - depth: 2 + title: User create Api Key + url: '#user-create-api-key' + - depth: 2 + title: User check User Organizations + url: '#user-check-user-organizations' + - depth: 2 + title: User send Invitation + url: '#user-send-invitation' + structuredData: + headings: + - content: User all + id: user-all + - content: User one + id: user-one + - content: User get + id: user-get + - content: User have Root Access + id: user-have-root-access + - content: User get Backups + id: user-get-backups + - content: User get Server Metrics + id: user-get-server-metrics + - content: User update + id: user-update + - content: User get User By Token + id: user-get-user-by-token + - content: User get Metrics Token + id: user-get-metrics-token + - content: User remove + id: user-remove + - content: User assign Permissions + id: user-assign-permissions + - content: User get Invitations + id: user-get-invitations + - content: User get Container Metrics + id: user-get-container-metrics + - content: User generate Token + id: user-generate-token + - content: User delete Api Key + id: user-delete-api-key + - content: User create Api Key + id: user-create-api-key + - content: User check User Organizations + id: user-check-user-organizations + - content: User send Invitation + id: user-send-invitation + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/content/docs/api/volumebackups.mdx b/apps/docs-new/content/docs/api/volumebackups.mdx new file mode 100644 index 0000000..f725399 --- /dev/null +++ b/apps/docs-new/content/docs/api/volumebackups.mdx @@ -0,0 +1,43 @@ +--- +title: Volume Backups +full: true +_openapi: + toc: + - depth: 2 + title: Volume Backups list + url: '#volume-backups-list' + - depth: 2 + title: Volume Backups create + url: '#volume-backups-create' + - depth: 2 + title: Volume Backups one + url: '#volume-backups-one' + - depth: 2 + title: Volume Backups delete + url: '#volume-backups-delete' + - depth: 2 + title: Volume Backups update + url: '#volume-backups-update' + - depth: 2 + title: Volume Backups run Manually + url: '#volume-backups-run-manually' + structuredData: + headings: + - content: Volume Backups list + id: volume-backups-list + - content: Volume Backups create + id: volume-backups-create + - content: Volume Backups one + id: volume-backups-one + - content: Volume Backups delete + id: volume-backups-delete + - content: Volume Backups update + id: volume-backups-update + - content: Volume Backups run Manually + id: volume-backups-run-manually + contents: [] +--- + +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} + + \ No newline at end of file diff --git a/apps/docs-new/generate-docs.mjs b/apps/docs-new/generate-docs.mjs index ba639a7..fa5f473 100644 --- a/apps/docs-new/generate-docs.mjs +++ b/apps/docs-new/generate-docs.mjs @@ -1,18 +1,19 @@ import { generateFiles } from "fumadocs-openapi"; +import { createOpenAPI } from "fumadocs-openapi/server"; + +const openapi = createOpenAPI({ + input: ["./public/openapi.json"], +}); try { - void generateFiles({ - input: ["./public/openapi.json"], - output: "./content/docs/api/generated", + await generateFiles({ + input: openapi, + output: "./content/docs/api", per: "tag", - name: (tag, name) => { - console.log(tag, name); - return `reference-${name}`; - }, + includeDescription: true, }); - console.log("Done"); + console.log("✓ Generated API documentation files"); } catch (error) { - console.error(error); + console.error("Error generating docs:", error.message); + process.exit(1); } - -// united.com/customer-care diff --git a/apps/docs-new/lib/source.ts b/apps/docs-new/lib/source.ts index 750499b..12eb271 100644 --- a/apps/docs-new/lib/source.ts +++ b/apps/docs-new/lib/source.ts @@ -15,10 +15,7 @@ export const openapi = createOpenAPI({ input: ['./public/openapi.json'], }); -export const APIPage = createAPIPage(openapi, { - // options - -}); +export const APIPage = createAPIPage(openapi); export function getPageImage(page: InferPageType) { const segments = [...page.slugs, 'image.png']; diff --git a/apps/docs-new/public/openapi.json b/apps/docs-new/public/openapi.json index 3df9b64..8a813fe 100644 --- a/apps/docs-new/public/openapi.json +++ b/apps/docs-new/public/openapi.json @@ -27,7 +27,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -171,7 +171,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -210,7 +210,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -261,7 +261,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -310,7 +310,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -380,7 +380,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -441,7 +441,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -490,7 +490,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -539,7 +539,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -596,7 +596,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -636,7 +636,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -666,7 +666,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -716,7 +716,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -783,7 +783,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -875,7 +875,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -940,7 +940,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -979,7 +979,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -1032,7 +1032,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -1081,7 +1081,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -1130,7 +1130,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -1179,7 +1179,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -1235,7 +1235,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -1296,7 +1296,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -1387,7 +1387,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -1477,7 +1477,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -1572,7 +1572,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -1657,7 +1657,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -1742,7 +1742,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -1807,7 +1807,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -1883,7 +1883,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -1932,7 +1932,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -1981,7 +1981,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -2659,7 +2659,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -2708,7 +2708,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -2764,7 +2764,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -2813,7 +2813,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -2862,7 +2862,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -2901,7 +2901,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -2954,7 +2954,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -2993,7 +2993,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -3046,7 +3046,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -3095,7 +3095,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -3186,7 +3186,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -3225,7 +3225,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -3274,7 +3274,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -3323,7 +3323,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -3377,7 +3377,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -3426,7 +3426,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -3485,7 +3485,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -3539,7 +3539,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -3588,7 +3588,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -3641,7 +3641,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -4041,7 +4041,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -4094,7 +4094,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -4143,7 +4143,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -4228,7 +4228,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -4267,7 +4267,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -4316,7 +4316,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -4365,7 +4365,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -4419,7 +4419,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -4468,7 +4468,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -4527,7 +4527,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -4576,7 +4576,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -4629,7 +4629,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -4682,7 +4682,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -5077,7 +5077,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -5130,7 +5130,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -5179,7 +5179,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -5254,7 +5254,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -5293,7 +5293,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -5342,7 +5342,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -5396,7 +5396,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -5445,7 +5445,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -5499,7 +5499,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -5548,7 +5548,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -5607,7 +5607,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -5656,7 +5656,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -5709,7 +5709,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -6096,7 +6096,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -6149,7 +6149,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -6198,7 +6198,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -6284,7 +6284,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -6323,7 +6323,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -6372,7 +6372,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -6421,7 +6421,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -6475,7 +6475,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -6524,7 +6524,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -6583,7 +6583,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -6637,7 +6637,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -6686,7 +6686,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -6739,7 +6739,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -7136,7 +7136,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -7189,7 +7189,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -7238,7 +7238,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -7329,7 +7329,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -7368,7 +7368,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -7417,7 +7417,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -7466,7 +7466,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -7520,7 +7520,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -7569,7 +7569,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -7628,7 +7628,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -7677,7 +7677,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -7730,7 +7730,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -7784,7 +7784,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -8184,7 +8184,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -8237,7 +8237,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -8286,7 +8286,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -8361,7 +8361,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -8401,7 +8401,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -8630,7 +8630,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -8684,7 +8684,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -8734,7 +8734,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -8784,7 +8784,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -8844,7 +8844,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -8893,7 +8893,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -8943,7 +8943,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -8996,7 +8996,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -9049,7 +9049,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -9089,7 +9089,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -9145,7 +9145,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -9201,7 +9201,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -9251,7 +9251,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -9301,7 +9301,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -9341,7 +9341,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -9391,7 +9391,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -9450,7 +9450,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -9489,7 +9489,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -9528,7 +9528,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -9578,7 +9578,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -9631,7 +9631,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -9685,7 +9685,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -9739,7 +9739,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -9789,7 +9789,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -9819,7 +9819,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -9858,7 +9858,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -9888,7 +9888,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -9918,7 +9918,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -9948,7 +9948,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -9978,7 +9978,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -10243,7 +10243,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -10283,7 +10283,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -10313,7 +10313,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -10362,7 +10362,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -10477,7 +10477,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -10507,7 +10507,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -10570,7 +10570,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -10600,7 +10600,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -10649,7 +10649,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -10736,7 +10736,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -10775,7 +10775,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -10830,7 +10830,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -10938,7 +10938,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -10977,7 +10977,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -11017,7 +11017,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -11069,7 +11069,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -11108,7 +11108,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -11208,7 +11208,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -11247,7 +11247,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -11296,7 +11296,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -11348,7 +11348,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -11426,7 +11426,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -11504,7 +11504,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -11543,7 +11543,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -11573,7 +11573,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -11622,7 +11622,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -11704,7 +11704,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -11824,7 +11824,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -11863,7 +11863,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -11957,7 +11957,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -12006,7 +12006,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -12055,7 +12055,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -12104,7 +12104,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -12153,7 +12153,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -12202,7 +12202,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -12251,7 +12251,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -12300,7 +12300,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -12355,7 +12355,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -12395,7 +12395,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -12435,7 +12435,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -12475,7 +12475,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -12532,7 +12532,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -12582,7 +12582,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -12622,7 +12622,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -12671,7 +12671,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -12710,7 +12710,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -12803,7 +12803,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -12852,7 +12852,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -12891,7 +12891,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -13010,7 +13010,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -13050,7 +13050,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -13128,7 +13128,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -13168,7 +13168,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -13218,7 +13218,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -13248,7 +13248,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -13278,7 +13278,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -13308,7 +13308,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -13338,7 +13338,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -13384,7 +13384,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -13433,7 +13433,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -13479,7 +13479,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -13525,7 +13525,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -13571,7 +13571,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -13617,7 +13617,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -13663,7 +13663,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -13709,7 +13709,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -13739,7 +13739,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -13789,7 +13789,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -13855,7 +13855,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -13885,7 +13885,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -13937,7 +13937,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -13967,7 +13967,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -14017,7 +14017,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -14047,7 +14047,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -14097,7 +14097,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -14127,7 +14127,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -14177,7 +14177,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -14207,7 +14207,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -14237,7 +14237,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -14267,7 +14267,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -14297,7 +14297,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -14336,7 +14336,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -14394,7 +14394,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -14442,7 +14442,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -14472,7 +14472,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -14502,7 +14502,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -14541,7 +14541,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -14593,7 +14593,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -14632,7 +14632,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -14662,7 +14662,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -14711,7 +14711,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -14741,7 +14741,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -14771,7 +14771,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -14801,7 +14801,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -14847,7 +14847,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -14886,7 +14886,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -14963,7 +14963,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -15002,7 +15002,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -15052,7 +15052,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -15082,7 +15082,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -15112,7 +15112,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -15171,7 +15171,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -15211,7 +15211,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -15261,7 +15261,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -15321,7 +15321,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -15384,7 +15384,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -15424,7 +15424,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -15474,7 +15474,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -15538,7 +15538,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -15612,7 +15612,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -15652,7 +15652,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -15702,7 +15702,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -15776,7 +15776,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -15855,7 +15855,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -15905,7 +15905,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -15990,7 +15990,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -16020,7 +16020,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -16060,7 +16060,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -16136,7 +16136,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -16175,7 +16175,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -16227,7 +16227,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -16266,7 +16266,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -16305,7 +16305,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -16391,7 +16391,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -16479,7 +16479,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -16533,7 +16533,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -16624,7 +16624,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -16717,7 +16717,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -16776,7 +16776,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -16862,7 +16862,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -16951,7 +16951,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -17004,7 +17004,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -17114,7 +17114,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -17223,7 +17223,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -17301,7 +17301,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -17350,7 +17350,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -17389,7 +17389,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -17419,7 +17419,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -17500,7 +17500,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -17592,7 +17592,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -17686,7 +17686,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -17749,7 +17749,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -17841,7 +17841,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -17935,7 +17935,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -17999,7 +17999,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -18077,7 +18077,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -18160,7 +18160,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -18210,7 +18210,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -18240,7 +18240,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -18306,7 +18306,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -18355,7 +18355,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -18394,7 +18394,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -18424,7 +18424,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -18474,7 +18474,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -18535,7 +18535,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -18565,7 +18565,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -18615,7 +18615,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -18706,7 +18706,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -18746,7 +18746,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -18776,7 +18776,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -18816,7 +18816,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -18873,7 +18873,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -18922,7 +18922,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -19016,7 +19016,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -19056,7 +19056,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -19133,7 +19133,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -19173,7 +19173,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -19203,7 +19203,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -19243,7 +19243,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -19298,7 +19298,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -19364,7 +19364,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -19442,7 +19442,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -19532,7 +19532,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -19572,7 +19572,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -19602,7 +19602,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -19642,7 +19642,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -19705,7 +19705,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -19754,7 +19754,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -19842,7 +19842,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -19882,7 +19882,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -19922,7 +19922,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -19979,7 +19979,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -20009,7 +20009,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -20059,7 +20059,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -20148,7 +20148,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -20227,7 +20227,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -20267,7 +20267,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -20307,7 +20307,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -20337,7 +20337,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -20367,7 +20367,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -20397,7 +20397,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -20427,7 +20427,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -20477,7 +20477,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -20517,7 +20517,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -20557,7 +20557,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -20706,7 +20706,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -20756,7 +20756,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -20843,7 +20843,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -20873,7 +20873,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -20903,7 +20903,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -20958,7 +20958,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -20988,7 +20988,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -21046,7 +21046,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -21076,7 +21076,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -21106,7 +21106,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -21145,7 +21145,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -21192,7 +21192,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -21231,7 +21231,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -21270,7 +21270,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -21318,7 +21318,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -21386,7 +21386,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -21457,7 +21457,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -21487,7 +21487,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -21526,7 +21526,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -21575,7 +21575,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -21631,7 +21631,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -21754,7 +21754,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -21806,7 +21806,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -21836,7 +21836,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -21875,7 +21875,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -21931,7 +21931,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -21980,7 +21980,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [], @@ -22010,7 +22010,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -22059,7 +22059,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -22116,7 +22116,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -22166,7 +22166,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -22275,7 +22275,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -22386,7 +22386,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -22435,7 +22435,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -22488,7 +22488,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -22527,7 +22527,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -22577,7 +22577,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -22627,7 +22627,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -22677,7 +22677,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -22734,7 +22734,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -22860,7 +22860,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -22900,7 +22900,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -22950,7 +22950,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -23081,7 +23081,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -23131,7 +23131,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -23189,7 +23189,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -23229,7 +23229,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "parameters": [ @@ -23268,7 +23268,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -23318,7 +23318,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -23385,7 +23385,7 @@ ], "security": [ { - "Authorization": [] + "x-api-key": [] } ], "requestBody": { @@ -23445,11 +23445,11 @@ "name": "x-api-key", "description": "API key authentication. Generate an API key from your Dokploy dashboard under Settings > API Keys." }, - "Authorization": { + "x-api-key": { "type": "apiKey", "in": "header", - "name": "Authorization", - "description": "API key authentication using Authorization header" + "name": "x-api-key", + "description": "API key authentication. Use YOUR-GENERATED-API-KEY" } }, "responses": { @@ -23613,6 +23613,9 @@ "security": [ { "apiKey": [] + }, + { + "x-api-key": [] } ] } \ No newline at end of file diff --git a/apps/docs-new/scripts/fix-openapi.mjs b/apps/docs-new/scripts/fix-openapi.mjs index 1c0a417..1fb7003 100644 --- a/apps/docs-new/scripts/fix-openapi.mjs +++ b/apps/docs-new/scripts/fix-openapi.mjs @@ -11,23 +11,64 @@ try { let fixed = 0; let securityFixed = false; - // Fix missing Authorization security scheme + // Remove Authorization security scheme and add x-api-key if (!openapi.components) { openapi.components = {}; } if (!openapi.components.securitySchemes) { openapi.components.securitySchemes = {}; } - if (!openapi.components.securitySchemes.Authorization) { - openapi.components.securitySchemes.Authorization = { + + // Remove old Authorization scheme + if (openapi.components.securitySchemes['Authorization']) { + delete openapi.components.securitySchemes['Authorization']; + securityFixed = true; + } + + // Add x-api-key scheme + if (!openapi.components.securitySchemes['x-api-key']) { + openapi.components.securitySchemes['x-api-key'] = { type: 'apiKey', in: 'header', - name: 'Authorization', - description: 'API key authentication using Authorization header' + name: 'x-api-key', + description: 'API key authentication. Use YOUR-GENERATED-API-KEY' }; securityFixed = true; } + // Replace global security from Authorization to x-api-key + if (openapi.security) { + openapi.security = openapi.security.filter( + sec => !sec['Authorization'] + ); + } else { + openapi.security = []; + } + + const hasApiKeySecurity = openapi.security.some( + sec => sec['x-api-key'] + ); + if (!hasApiKeySecurity) { + openapi.security.push({ 'x-api-key': [] }); + securityFixed = true; + } + + // Replace Authorization with x-api-key in all operation security + for (const [path, pathItem] of Object.entries(openapi.paths || {})) { + for (const [method, operation] of Object.entries(pathItem)) { + if (operation && operation.security) { + // Replace Authorization with x-api-key + operation.security = operation.security.map(sec => { + if (sec['Authorization'] !== undefined) { + securityFixed = true; + return { 'x-api-key': [] }; + } + return sec; + }); + } + } + } + // Fix empty response schemas for (const [path, pathItem] of Object.entries(openapi.paths || {})) { for (const [method, operation] of Object.entries(pathItem)) { @@ -54,7 +95,7 @@ try { if (fixed > 0 || securityFixed) { writeFileSync(openapiPath, JSON.stringify(openapi, null, 2)); if (fixed > 0) console.log(`✓ Fixed ${fixed} empty response schemas`); - if (securityFixed) console.log(`✓ Added missing Authorization security scheme`); + if (securityFixed) console.log("✓ Added x-api-key security scheme"); } else { console.log('✓ No fixes needed'); }