filmov
tv
NSwag - SWAGGER For ASP.NET CORE and AUTOMATIC Type Generation For TypeScript |

Показать описание
Hey Friends, "The OpenAPI Specification, originally known as the Swagger Specification,
is a specification for machine-readable interface files for describing, producing,
consuming, and visualizing RESTful web services"
In this video, I will walk you through on how to set up an OpenAPI spec (Swagger endpoint) for your ASP.NET
Core Web API, using NSwag. NSwag provides tools to generate OpenAPI specs and generate
client code to consume these APIs. I will also show how to automatically generate typescript clients and types to consume the API using MSBuild tasks. Every time we build the
project (csproj), it will automatically generate the associated typescript types from the
Data Transfer Objects (DTO) used in the API Controllers.
This allows us to easily integrate our front-end application without backend APIs, giving us
full type safety. Any time we update our DTO's it will also show the associated errors in our
frontend code right at compile time.
Come say hi! ✋
Make sure to SUBSCRIBE to the channel. THANK YOU for helping me grow this channel !!
is a specification for machine-readable interface files for describing, producing,
consuming, and visualizing RESTful web services"
In this video, I will walk you through on how to set up an OpenAPI spec (Swagger endpoint) for your ASP.NET
Core Web API, using NSwag. NSwag provides tools to generate OpenAPI specs and generate
client code to consume these APIs. I will also show how to automatically generate typescript clients and types to consume the API using MSBuild tasks. Every time we build the
project (csproj), it will automatically generate the associated typescript types from the
Data Transfer Objects (DTO) used in the API Controllers.
This allows us to easily integrate our front-end application without backend APIs, giving us
full type safety. Any time we update our DTO's it will also show the associated errors in our
frontend code right at compile time.
Come say hi! ✋
Make sure to SUBSCRIBE to the channel. THANK YOU for helping me grow this channel !!
Комментарии