Tagged articles
Image from Pexels

Tagged articles - NSwag

Found 3 articles tagged with NSwag

Generic type controller methods in ASP.NET Core
Using generic type controller methods in ASP.NET Core with Swagger
0
Generic types are great way to re-use methods and apply the same logic to different types. However, they come with some limitations, especially in ASP.NET realm...read more
Ignoring properties from controller action model in Swagger using JsonIgnore
Excluding properties from Swagger in controller action input model using Newtonsoft.Json package
0
While designing the REST API, quite often you may find yourself in a situation where the data can be provided from multiple sources, like route, query string or POST/PUT payload. While that might not be a big problem, it may force you to redesign your models and most likely you will end up with keeping your original DTOs but then designing a new model in your application services layer just to have all your data from different sources in one place when you are passing it to the service method. Resolving multiple sources custom binding ...read more
Stop writing clients in C# for your Web APIs
Auto generating client libraries and packages for Web API using NSwag and Azure DevOps
0
Times of writing your HttpClient setup to call REST API endpoint are over. It is just to much of repetitive code and taking care of the endpoints of the REST API service...read more

.NET

read more

JavaScript

read more

SQL/T-SQL

read more

Umbraco CMS

read more