Extended Swagger documentation | ASP.NET Core 5 REST API Tutorial 22

Поделиться
HTML-код
  • Опубликовано: 17 ноя 2024

Комментарии • 30

  • @jeffersantosss
    @jeffersantosss 3 года назад +2

    Great video! Thanks for sharing such nice knowledge. When the part 2 will come? Would be nice to know how to describe the parameters too adding annotations on it..
    For those who is trying to show the summary on the controllers, the "IncludeXmlComments" should be modified to:
    x.IncludeXmlComments(xmlPath, includeControllerXmlComments: true);

  • @lekabros
    @lekabros 4 года назад

    Now you can specify example values using Example in request and response objects' properties.

  • @UzairAli001
    @UzairAli001 4 года назад +1

    Thanks for creating this really great tutorial ❤

  • @TmpVideo
    @TmpVideo Год назад

    Thanks for the informative video. Can it be used with soap and c# libraries?

  • @boredgamer7089
    @boredgamer7089 5 лет назад +3

    Great Tutorial Series Man, Can you please make a Tutorial on Email Confirmation After User Signup before user can Login

    • @nickchapsas
      @nickchapsas  5 лет назад +4

      Thanks for the suggestion. This is definitely something I wanna touch upon. I'm preparing a "Sign up and sign in with Facebook" first but I will definitely make an email confirmation one.

  • @sovannseung6985
    @sovannseung6985 2 года назад

    Great video. I have a question. Let say we have 5 properties. 3 are require and other 2 are optional. How could we show to the user these information?

  • @SuhendraYohanaPutra
    @SuhendraYohanaPutra 3 года назад

    Great video. But where I can find Iinstaller class?

  • @jorgemoreira5645
    @jorgemoreira5645 3 года назад +2

    This was a nice tutorial, thanks! Can you make or send me a tutorial about showing those padlocks on swagger for autheticated users only? For example, if i log in with a type of user, the padlcoks from the routes that i am authorized to use, would be highlighted. I am asking this because i am building documentation for my project, and when i use the jwt token all routes with authorization get that padlock highlighted (except the routes with Allow Anonymous ), and i want only the ones the user is able to use.

  • @acp3012
    @acp3012 3 года назад

    Hi,
    The video content are very good. However, it would be great if you show the editor font little bigger so that it will be clear.
    Thank you

  • @nhwilly1011
    @nhwilly1011 3 года назад

    Really great. Thanks!!!

  • @romainmornfall8116
    @romainmornfall8116 5 лет назад +1

    Your tutorials Are awesome !
    What would be even more better awesome : how to publish that API on AWS.

    • @nickchapsas
      @nickchapsas  5 лет назад

      Thank you! I will be creating one defiantly for Azure so hopefully after that I will create one for AWS too

  • @gatomongt
    @gatomongt Год назад

    what is startup in builder.Services.AddSwaggerExamplesFromAssemblyOf();? i have error with this

  • @_CazaBobos
    @_CazaBobos 2 года назад

    When I add swagger comments to controllers that come from other assembly they don't load. Is it a bug or am I missing something?

  • @oui_chapeau
    @oui_chapeau 2 года назад

    I find my controllers to become very convoluted with all the data annotations or xml comments, is there any way to externalise that to another file? thanks!

  • @echoround7374
    @echoround7374 3 года назад

    Can you "export" this as text/whatever, so you could add it on a documentation page?

  • @SuperAndrea000000
    @SuperAndrea000000 4 года назад

    I followed your videos step by step, but when I run the project I get the exception
    System.TypeLoadException: 'Method 'Apply' in type 'Swashbuckle.AspNetCore.Filters.ExamplesOperationFilter' from assembly 'Swashbuckle.AspNetCore.Filters, Version=4.5.5.0, Culture=neutral, PublicKeyToken=aa1e9c5053bfbe95' does not have an implementation.'
    and I cannot figure out why. Can you help me please?

    • @SuperAndrea000000
      @SuperAndrea000000 4 года назад

      Today an update has been released and now everything works perfectly

  • @zulqarnainali110
    @zulqarnainali110 3 года назад

    Hi Nick i am from pakistan and i can't pay for your source code access payments how can we do that?

  • @charlyeco20
    @charlyeco20 5 лет назад

    Which editor are you using? Are you in Linux?

    • @nickchapsas
      @nickchapsas  5 лет назад +2

      I am using an IDE called Rider. It is based by Jetbrains, the team that made Resharper. It is a fully cross platform IDE that works on Windows, Linux and Mac.

    • @augustoeliseo
      @augustoeliseo 5 лет назад +1

      Jetbrains Rider

  • @sreejikm
    @sreejikm 3 года назад

    Which ide are you using

  • @josecarlospardo8948
    @josecarlospardo8948 5 лет назад

    what IDE are you using??

    • @nickchapsas
      @nickchapsas  5 лет назад +3

      I am using JetBrains Rider. It’s a cross platform IDE that is really good and it comes with all the Resharper features out of the box

    • @andrewh3639
      @andrewh3639 4 года назад

      @@nickchapsas I saw in your videos you typing 'ctor' and class/method implementations showing up macigaclly. And thought WTH?

  • @TeoZarkopafilis
    @TeoZarkopafilis 5 лет назад

    first