ASP.NET Core - API Documentation : Swagger + Swashbuckle

preview_player
Показать описание
In this video we''re going to use the Nuget Package : Swashbuckle.AspNetCore; to create our API Documentation.

At 6:42 : response code=400 "if any data is incorrect" should be replace by something meaningful to the clients such as "Bad request" or "Invalid Data Entered" instead OOPS :)

0:00- Introduction
0:23- Install Swashbuckle.AspNetCore Nuget Package
2:30- Running the App for the first time
2:48- Navigating to the JSON Swagger Document
3:00- Taking a look at the generated API Documentation UI
4:10- Using the "Try it out" Feature
5:05- Disabling the "Try it out" Feature
6:15- Different Custom Features
6:48- Configuring the App to support XML Comments and Extra features
7:42- Adding custom API Descriptions
8:20- Adding Sample Requests & Responses
10:40- Adding different responses types for our APIs
12:15- Enabling Open API Support in ASP.NET Core 5.0 Projects
13:45- Outro
Рекомендации по теме
Комментарии
Автор

פשוט מעולה ממש עזרת לי Just great you really helped me

tomk
Автор

Nice and fast. Touched on all useful subjects.

Gus-pxhd
Автор

specially useful for showing the xml comments in code through swaager UI for dotnet 8.0 using the reflection capability

SinaFarzan-lh
Автор

Hello, I have a question. You added example values byself but I want to know that example value which we got from swagger by default that we can remove from documentation or not ?

faizanshaikh
Автор

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!

oui_chapeau
Автор

Why my swagger not showing default schema for input please help me

shreyash