More Swagger

Sdílet
Vložit
  • čas přidán 4. 05. 2023
  • Swagger works pretty well out of the box, but with a bit of work we can get the output just how we want it.
    Source code available at: github.com/JasperKent/More-Sw...
    Topics include:
    - C# XML documentation comments
    - Displaying .NET endpoint documentation in Swagger
    - Documenting status codes
    - Marking controllers and methods as obsolete
    - Marking versions as deprecated
    - Changing the list order of endpoints
    - Grouping endpoints by HTTP verb
  • Věda a technologie

Komentáře • 5

  • @CodingTutorialsAreGo

    Do you add a lot of comments in Swagger, or just leave it at the basics? Let me know in the comments.
    Source code available at: github.com/JasperKent/More-Swagger
    Remember to subscribe at czcams.com/channels/qWQzlUDdllnLmtgfSgYTCA.html
    And if you liked the video, click the 👍.

  • @funnybaldandbeardy3927
    @funnybaldandbeardy3927 Před rokem +2

    Your videos are so informative, and go into the detail of things that most other people skip over.
    Keep up the excellent work!

  • @10Totti
    @10Totti Před rokem +2

    Best Tutorial... many thanks!

  • @JimmyGilles
    @JimmyGilles Před rokem +2

    I love those videos on swagger ! Thank you.
    One question, in the V2, can we use the comment on the methods ? Is it supported by swagger (I didn't try it) ?

    • @CodingTutorialsAreGo
      @CodingTutorialsAreGo  Před rokem

      I think there would have to be an inheritance relationship between the two controllers for that to work.