Giter VIP home page Giter VIP logo

Comments (5)

marclave avatar marclave commented on May 26, 2024 2

oh and also @Blankeos , feel free to join the discord. it's another great place to get updates and raise questions about scalar too

https://discord.gg/8HeZcRGPFS

✨ appreciate the kind words and glad to hear you are using scalar ✨

from scalar.

Blankeos avatar Blankeos commented on May 26, 2024 1

@marclave. Thanks for the quick response! I didn't know this was sort of a duplicate issue haha, sorry!
Thanks as well for letting me know I can do this on ElysiaJS. Apparently the default @scalar/api-reference is '1.12.5'. Upped it to the version you mentioned and it works now!

image

What I did:

const app = new Elysia().use(
  swagger({
    path: "/docs",
    exclude: ["/docs", "/docs/json"],
+    scalarVersion: "1.12.9",
  })
);

Thanks a bunch! You guys are doing amazing work here!

from scalar.

marclave avatar marclave commented on May 26, 2024 1

amazing @Blankeos , I also created a PR to get this updated for everyone :)

elysiajs/elysia-swagger#92

I'll do a better job of updating the packages when we do a release... it is quite frequent so maybe i need to use dependabot. I will chat with https://github.com/saltyaom about the best way to do this :)

from scalar.

marclave avatar marclave commented on May 26, 2024

hi @Blankeos

thanks for the comment and the kind words, hopefully we can keep smoothing out the rough edges as fast as possible :)

we actually fixed this issue in #756 and the release of 1.12.9 #756 (comment)

you should be able to pass in the release version to ElysiaJS to confirm this works, but I will open a pull request to update the version so it's fixed for everyone :)

from scalar.

marclave avatar marclave commented on May 26, 2024

also, I really appreciate the reproduction steps!

from scalar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.