From the course: Building and Securing RESTful APIs in ASP.NET Core
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Introduction to OpenAPI - ASP.NET Core Tutorial
From the course: Building and Securing RESTful APIs in ASP.NET Core
Introduction to OpenAPI
- [Instructor] Open API also known as Swagger is a popular tool for developing and testing APIs. If you haven't used OpenAPI before this video will introduce you to the key concepts. OpenAPI is a format for describing restful APIs, but it isn't quite a schema like HAL or Ion. Think of OpenAPI as introspection or reflection for your API. You can describe your API using the language agnostic OpenAPI Spec and then give this description to others to help them understand how to interact with your API. This API description lives in a file called swagger.json. You can build a swagger.jsaon file by hand or you can generate it automatically. Swagger.json can be processed to automatically create a strongly typed client for your API or to generate API tests. Swagger.json also enables a web tool called Swagger UI which allows a human to browse to your API definition and documentation and interact with the API in real time. It's a useful tool to give to other teams or even to your API customers so…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.