Giter Site home page Giter Site logo

Swagger integration about saturn HOT 9 OPEN

saturnframework avatar saturnframework commented on May 22, 2024 21
Swagger integration

from saturn.

Comments (9)

WalternativE avatar WalternativE commented on May 22, 2024 4

I've been monitoring the state of this issue for a couple of months now. My current findings are as follows:

There is a prototype that currently works for Giraffe applications. As Saturn builds on that it should be usable (I haven't tired myself, though).

Currently there is no real further development in this direction. I suspect mostly because everyone is waiting for the revamp of the routing API coming with ASP.NET Core 3.0 which will allow every piece of middleware to work with the same set of routing related metadata. Until this is stable and out in the wild I don't see any point in developing a bespoke solution right now.

I know though that there is some work going on in Saturn that could help you in the meantime (depending on your use case). Here is Chris' tweet about it.

from saturn.

StephenStrickland avatar StephenStrickland commented on May 22, 2024 1

This would be a great addition to the framework! Been hunting around to see if there's been any movement on this front in Saturn or Giraffe but haven't really seen any progress recently. Would love to use this for a project, but sadly I have a requirement for Swagger documentation.

from saturn.

cartermp avatar cartermp commented on May 22, 2024 1

Perhaps, although I don't think Saturn should depend on .NET 7 until near or after release.

from saturn.

wallymathieu avatar wallymathieu commented on May 22, 2024

I agree, this would make a lot of sense!

from saturn.

wyshmily avatar wyshmily commented on May 22, 2024

so, any progress?

from saturn.

Rajivhost avatar Rajivhost commented on May 22, 2024

How about this?

from saturn.

jkone27 avatar jkone27 commented on May 22, 2024

seems there is some work on NET7 milestone.. but might take time
dotnet/aspnetcore#37098

from saturn.

jkone27 avatar jkone27 commented on May 22, 2024

Hi guys, can these new features in NET7 preview 2 help laready?
https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-7-preview-2/

when using endpoints?

app.MapGet("/hello", [EndpointSummary("Sends a Hello request to the backend")]() => ...)

from saturn.

jkone27 avatar jkone27 commented on May 22, 2024

maybe it could be a branch/beta package release, so it can stay experimental and there is no hard dependency on it (or kind of "depend at your own risk for now" policy..), atm saturn still has no support for swashbuckle/swagger right?

from saturn.

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.