search

According to OpenAPI 3.0 it isn’t possible. But what if you really want it to be? Do you have to just settle and allow your Swagger documentation to be wrong? I’m here to show you how to make optional route parameters with Swagger and ASP.NET Core.

Bharat Dwarkani shared on May 13, 2020
image
seeleycoder.com
bookmarks
share
visibility24
visibility24 share bookmarks

Swagger is a great way of dynamically documenting web APIs. However, I have seen a great share of broken Swagger set ups, such as the entire documentation failing to generate due to an invalid attribute annotation, or a public controller method which has not been bootstrapped to an HTTP method.

Bharat Dwarkani shared on Feb 27, 2020
image
medium.com
bookmarks
share
visibility21
visibility21 share bookmarks

This post is going to use one of the tools provided by NSwag to generate C# client classes to provide access to an API. While the NSwag tooling provides multiple ways to discover the definition of an API we will be using the tooling to generate C# classes from an OpenAPI/Swagger specification.

Bharat Dwarkani shared on Nov 24, 2019
image
elanderson.net
bookmarks
share
visibility129
visibility129 share bookmarks

Swagger tooling for API's built with ASP.NET Core. Generate beautiful API documentation, including a UI to explore and test operations, directly from your routes, controllers and models.

Bharat Dwarkani shared on Oct 18, 2019
image
github.com
bookmarks
share
visibility27
visibility27 share bookmarks

The minimum configuration of Swagger is nice to get started but let’s add some more customization.

Bharat Dwarkani shared on Oct 12, 2019
image
medium.com
bookmarks
share
visibility6
visibility6 share bookmarks

pproval testing is a method of testing that not many are familiar with. If I were to hypothesise why this is, I'd say it's because of it narrow application, especially when contrasted to other more common forms of forms of testing.

Bharat Dwarkani shared on Aug 30, 2019
image
josephwoodward.co.uk
bookmarks
share
visibility2
visibility2 share bookmarks

Swagger needs no introduction. It is one of the best methods to test your WEB APIs. Adding swagger to your ASP.NET Core application is very easy and straightforward. I already have a couple of posts on my blog on Swagger. Swagger comes with many options and customization to help you prepare better API documentation.

Bharat Dwarkani shared on Aug 30, 2019
image
talkingdotnet.com
bookmarks
share
visibility11
visibility11 share bookmarks

Following these simple 4 steps to add document generation capability for your API. Using the Swashbuckle NuGet package to add document generation ability to our ASP.Net Core project.

Bharat Dwarkani shared on Aug 12, 2019
image
syncfusion.com
bookmarks
share
visibility7
visibility7 share bookmarks
add