Using OpenAPI/Swagger for Testing and Code Generation in ASP.NET Core

Testing an API improves its reliability. Generating client-side code helps with getting started fast when building a client that consumes your API. OpenAPI can help with both. In this course, you'll learn how.
Course info
Level
Intermediate
Updated
Apr 12, 2019
Duration
1h 21m
Table of contents
Description
Course info
Level
Intermediate
Updated
Apr 12, 2019
Duration
1h 21m
Description

Testing an API improves its reliability. Generating client-side code helps with getting started fast when building a client that consumes your API. OpenAPI can help with both. In this course, Using OpenAPI/Swagger for Testing and Code Generation in ASP.NET Core, you will gain the ability to test an API and generate code from it. First, you will learn what OpenAPI (Swagger) is. Next, you will discover how it can help with code generation. Finally, you will explore how to test your API, from manual to automated and command-line testing. When you’re finished with this course, you will have the skills and knowledge of .NET Core and OpenAPI needed to test your API and generate client-side code from it.

About the author
About the author

Kevin Dockx is a freelance solution architect (mobile/web), author & consultant, living in Antwerp (Belgium).

More from the author
Testing with EF Core
Intermediate
1h 13m
Jun 14, 2019
More courses by Kevin Dockx
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone. My name is Kevin. Welcome to my course, Using OpenAPI/Swagger for Testing and Code Generation in ASP.NET Core. I'm a Microsoft MVP and freelance solution architect currently focused on security in APIs. In this course, we're going to learn how to test an API, which will improve its reliability and generate code from its OpenAPI Specification, which can help with building clients that consume the API. Some of the major topics that we will cover include generating DTOs and clients from an OpenAPI or Swagger Specification, manually testing an API, automating API tests, and using a command-line interface tool, HTTP-REPL, to interact with your API. By the end of this course, you'll know all about API testing and the power of OpenAPI in regards to code generation. Before beginning the course, you should be familiar with .NET Core and C#. I hope you'll join me on this journey to learn all about API testing and code generation with the Using OpenAPI/Swagger for Testing and Code Generation in ASP.NET Core course, at Pluralsight.