🎉 feat: merge scalar

This commit is contained in:
saltyaom
2024-01-07 16:21:07 +07:00
parent 99b224dd47
commit ed65eb94b1
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ const app = new Elysia({
swagger({
documentation: {
info: {
title: 'Elysia Swagger',
title: 'Elysia Scalar',
version: '0.8.1'
},
tags: [
+1
View File
@@ -81,6 +81,7 @@ export const plugin = new Elysia({
// }
// )
.post('/file', ({ body: { file } }) => file, {
type: 'formdata',
body: t.Object({
file: t.File({
type: ['image/jpeg', 'image/'],