mirror of
https://github.com/Dokploy/website.git
synced 2026-07-16 19:35:27 +02:00
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.
This commit is contained in:
48
apps/docs-new/content/docs/api/docker.mdx
Normal file
48
apps/docs-new/content/docs/api/docker.mdx
Normal file
@@ -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. */}
|
||||
|
||||
<APIPage document={"./public/openapi.json"} webhooks={[]} operations={[{"path":"/docker.getContainers","method":"get"},{"path":"/docker.restartContainer","method":"post"},{"path":"/docker.getConfig","method":"get"},{"path":"/docker.getContainersByAppNameMatch","method":"get"},{"path":"/docker.getContainersByAppLabel","method":"get"},{"path":"/docker.getStackContainersByAppName","method":"get"},{"path":"/docker.getServiceContainersByAppName","method":"get"}]} showTitle={true} />
|
||||
Reference in New Issue
Block a user