Validating JSON Requests Using C# and OpenAPI/Swagger
Microsoft.OpenApi and NJsonSchema FTW
Aug 19, 20247 min read1.8K

Search for a command to run...

Series
In this series, I will explore using the Microsoft.OpenApiReader package when interacting with REST endpoints. How it can be used to validate requests and more.
Microsoft.OpenApi and NJsonSchema FTW

Contrasting with a static client

In the previous parts in this series, I discovered the OpenAPI package, used it to verify REST API payloads, and then used it to create a class that can use an OpenAPI specification to become a dynamic API client. At the end of the last part, I compa...
