elysiajs / elysia-swagger

A plugin for Elysia to auto-generate Swagger page
MIT License
74 stars 36 forks source link

feat: Scalar ElysiaJS integration #85

Closed marclave closed 6 months ago

marclave commented 6 months ago

👋 hey everyone, i'm really excited for this PR and everyones feedback!

I think it would be pretty cool to expand the options of the swagger integration, so people can choose between Scalar & Swagger UI.

Video Walkthrough elysia (1)

Some big benefits of Scalar:

We would be beyond honored to have Scalar as the default, and I think i can create the integration in a way that its seamless and backwards compatible.

Also, what a joy it was working in ElysiaJS, the codebase is really clean and getting started was as simple as bun dev 🤯

Stoked to hear what y'all think.

I still need to:

marclave commented 6 months ago

@SaltyAom thank you so much for your response, and time in writing out that message. I pushed up the conflict fixes, and this is ready to get merged :) I can help write out any documentation in the core ElysiaJS repository :)

We are incredibly grateful for all the kind words, and how grateful we are for the community being excited for this PR. We are dedicated to making scalar the best, so we will always be here to fix and improve things fast!

Appreciate your feedback, i created issues for both of these https://github.com/scalar/scalar/issues/735 https://github.com/scalar/scalar/issues/737

I will look into these soon, incredibly excited to be integrated and to help out on the next steps once merged!

hanspagel commented 6 months ago

That feedback is so great! I’ve already added fetch support to our very own request example lib, we just need to add it to the API reference package. 😇 https://scalar-snippetz.netlify.app/