import { swagger } from '@elysiajs/swagger' import { Elysia } from 'elysia' import { rateLimit } from '../src' const app = new Elysia() .use(swagger()) .use(rateLimit()) .get('/', () => 'hello') .listen(3000, () => { console.log('🦊 Swagger is active at: http://localhost:3000/swagger') })