import calendarData from "./controllers/calendar.data.js";

import { calendarDataSchema } from './schema.js';

export default async function route(fastify) {
    fastify.get('/calendar/:name', { schema: calendarDataSchema }, calendarData);
}
