wip
This commit is contained in:
@@ -10,6 +10,7 @@ app.use('*', logger())
|
||||
app.use('*', prettyJSON())
|
||||
|
||||
app.route('/api/v1/email', emailRouter)
|
||||
app.get('/docs', createSwaggerUI())
|
||||
app.get('/swagger', createSwaggerUI())
|
||||
|
||||
const port = process.env.PORT || 3000
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
import { OpenAPIHono } from '@hono/zod-openapi'
|
||||
import { swaggerUI } from '@hono/swagger-ui'
|
||||
|
||||
const openapi = new OpenAPIHono()
|
||||
|
||||
const routes = {
|
||||
'/api/v1/email': {
|
||||
post: {
|
||||
|
||||
Reference in New Issue
Block a user