elysiajs / documentation

Documentation for Elysia.js
https://elysiajs.com
79 stars 267 forks source link

openapi version mismatch in swagger documentation #57

Closed scarf005 closed 1 year ago

scarf005 commented 1 year ago

image

however in the swagger plugin implementation it outputs openapi 3.0

https://github.com/elysiajs/elysia-swagger/blob/642375d00ac11f6d91111358283a4664583e6c89/src/index.ts#L101-L110

https://github.com/elysiajs/elysia-swagger/blob/main/CHANGELOG.md#030-beta0---25-feb-2023

https://elysiajs.com/patterns/creating-documentation.html#route-definitions

i think the documentation is outdated, if so i'll open a PR.

SaltyAom commented 1 year ago

Ok, I forgot that we updated to OpenAPI V3 some version ago.

Already fixed, thanks you so much.