Coding Shorts

Поділитися
Вставка
  • Опубліковано 13 січ 2025

КОМЕНТАРІ • 23

  • @Comphonia
    @Comphonia 5 місяців тому +2

    I honestly like swagger UI as-is. Grouping, Auth configuration, versioning, layout, try-me-out etc just with a few lines of code. It's snappy and works great for devs.

    • @swildermuth
      @swildermuth  5 місяців тому +1

      I don't think you have to give it up, they're just not requiring this implementation and allowing themselves to keep up with the latest versions of OpenAPI separate.

  • @dotnetMasterCSharp
    @dotnetMasterCSharp 5 місяців тому

    This is most awesome and useful content for devs; Thank you this great content!

  • @viniciussilvadeandrade243
    @viniciussilvadeandrade243 5 місяців тому

    Shawn, I loved when you just said, make sense!? AMAZING!!! Thank you for sharing man!

  • @ALDUIINN
    @ALDUIINN 5 місяців тому +4

    I was JUST searching for, this when this came out
    Actually i was tired of how hard it was to find anything
    Glad i'm subscribed, thank god \o/

  • @WahidBitar
    @WahidBitar 5 місяців тому +5

    Thank you, wonderful as usual 🌷

  • @j2csharp
    @j2csharp 5 місяців тому +1

    Yes, SwaggerUI is in need of a major revamp (or replacement) .

  • @waystilos
    @waystilos 4 місяці тому

    I never liked the collapsing ui in swagger. This is better. Thanks!

    • @junior.santana
      @junior.santana 2 місяці тому +1

      Inwas looking for alternatives this week because that reason (and the lack of a sidebar menu and the terrible way models are displayed, etc...). I even considered implementing some changes and later submitting a PR, but the number of ignored issues there put me off.
      Scalar looks pretty neat too, but i couldn't get my head around the licensing, not sure if it's oaid or not for enterprise products.
      I'll definitely check that elements project

  • @PaulPendor
    @PaulPendor 5 місяців тому +3

    I like the more compact UI, but what I am not seeing, and can't see when looking at the documentation is how authentication is handled. SwaggerUI has configuration to configure your authentication mechanism, which for us is an OpenID Connect integration with our federated auth service. Swagger UI presents you with an "Authorize" button, which when clicked presents you with a modal form to kick off the auth process. I'm not seeing that mentioned in the Elements WebComponent documentation.
    I guess we could use the Angular or React route and build in an authorization path. But SwaggerUI gives us this level of configuration out of the box.
    Looking at the Issues on the Elements github, it looks like there is Authorization in some form, as I can see Issues with basic auth not working as some people expected. So maybe some more digging required on my part to understand how the OpenId Connect auth can be integrated.

    • @swildermuth
      @swildermuth  5 місяців тому +1

      Open API is just and endpoint, you can decide whether to authenticate it or not

  • @irvinwaldman4233
    @irvinwaldman4233 5 місяців тому +1

    Awesome, thanks.

  • @ciorchinos
    @ciorchinos 5 місяців тому +1

    It is like asking: Can you mom do better than this, well for sure but here we are 🤣🤣 (the wisdom in this is that we already have it, we already use it no worry to work more to improve it)

  • @ciorchinos
    @ciorchinos 5 місяців тому

    nice video BTW thanks for it

  • @cdarrigo
    @cdarrigo 5 місяців тому +2

    Microsoft is really dropping the ball up and not producing a UI solution that consumes the open api's Package generates. I like the idea that it's extensible and that the community can write other different friends of the Jews to, but we shouldn't be reliant on that for a solution. Microsoft should offer a default UI experience and if we don't like that we can swap it out for a community alternative

    • @swildermuth
      @swildermuth  5 місяців тому

      I wouldn't be surprised if (by release) they don't put one of hte options in the default templates - but I doubt they will make their own.

  • @JacobSnover
    @JacobSnover 5 місяців тому +1

    All the quick edits add a choppiness reminiscent of Max Headroom

    • @swildermuth
      @swildermuth  5 місяців тому +1

      You sure I'm not Max Headroom?

    • @JacobSnover
      @JacobSnover 5 місяців тому

      @@swildermuth 🤯