export default function onCreateRoute(routeData: { responseBodySchema: { type: string; }; routeParams: { query: { name: string; required: boolean; in: string; description: string; schema: { type: string; }; type: string; }[]; }; request: { query?: { type: string; name: string; optional: boolean; }; method: string; }; }): { responseBodySchema: { type: string; }; routeParams: { query: { name: string; required: boolean; in: string; description: string; schema: { type: string; }; type: string; }[]; }; request: { query?: { type: string; name: string; optional: boolean; }; method: string; }; };