mirror of
https://github.com/zoriya/elysia-swagger.git
synced 2025-12-06 08:46:10 +00:00
style: remove unnecessary console.log
This commit is contained in:
@@ -79,6 +79,5 @@ it('returns a valid Swagger/OpenAPI json config for many routes', async () => {
|
|||||||
)
|
)
|
||||||
|
|
||||||
const res = await app.handle(req('/swagger/json')).then((x) => x.json())
|
const res = await app.handle(req('/swagger/json')).then((x) => x.json())
|
||||||
console.log(res.paths['/json/{id}'].post.parameters)
|
|
||||||
await SwaggerParser.validate(res).catch((err) => fail(err))
|
await SwaggerParser.validate(res).catch((err) => fail(err))
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user