import type { OpenAPIV3_1 } from "openapi-types";

export const openDockApt: OpenAPIV3_1.PathsObject = {
	"/api/opendock": {
		get: {
			summary: "Open Dock apt",
			description: "Returns the last 30 days of apt(s).",
			tags: ["Open Dock"],
			responses: {
				"200": {
					description: "Jobs returned",
					content: {
						"application/json": {
							schema: {
								type: "object",
								properties: {
									success: {
										type: "boolean",
										format: "boolean",
										example: true,
									},
									message: {
										type: "string",
										format: "string",
										example:
											"The first 5 Apt(s) that were created in the last 30 days",
									},
								},
							},
						},
					},
				},
			},
		},
	},
};
