"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const registry_1 = require("../../docs/registry");
const zod_1 = __importDefault(require("zod"));
const validation_1 = require("../../util/validation");
registry_1.registry.registerPath({
    method: 'get',
    path: '/get-url/{filename}',
    tags: ['AWS'],
    summary: 'Pega signed URL do provedor de cloud',
    request: {
        params: zod_1.default.object({
            filename: (0, validation_1.requiredString)('filename', true),
        }),
    },
    responses: {
        200: { description: 'Sucesso' },
        422: { description: 'Not found' },
        401: { description: 'Não autorizado' },
    },
    security: [{ BearerAuth: [] }],
});
