Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

386 B
Raw Blame
import { FastifyInstance } from 'fastify'
import { securityAccess } from '../../core/security/authorization/fastify-security'

export const openapiController = async (fastify: FastifyInstance) => {
    fastify.get('/', GetOpenApiParams, async () => {
        return fastify.swagger()
    })
}

const GetOpenApiParams = {
    config: {
        security: securityAccess.public(),
    },
}