Function withSwagger

  • WithSwagger middleware

    Parameters

    Returns (() => ((_req: NextApiRequest, res: NextApiResponse) => void))

      • (): ((_req: NextApiRequest, res: NextApiResponse) => void)
      • Returns ((_req: NextApiRequest, res: NextApiResponse) => void)

          • (_req, res): void
          • Parameters

            • _req: NextApiRequest
            • res: NextApiResponse

            Returns void