Hi guys! Today we will learn how to do integration testing for Spring WebClient that invokes external REST APIs with WireMock and JUnit 5. As an example, we will implement a simple logic responsible for querying the GitHub API using coroutines. Nevertheless, I am pretty sure you will be able …
How to enable PowerShell in Github Codespaces?
Are you the one stuck with the below issue? Unable to find the PowerShell in the GitHub codespaces terminal. PowerShell is not available after installing the extension in the GitHub codespaces. Not comfortable with Bash. See the below image, the PowerShell option is missing in the CodeSpaces terminal and you’re …
Reactive Programming in Kotlin: A Step-by-Step Guide
In this article, we are going to tackle Reactive Programming in Kotlin. We will start with what exactly Reactive Programming is, how we could use it to our advantage, and what techniques we can use in Kotlin. I am going to explain everything in simple terms to make this article …
Failed to load API definition error in Swagger for ASP.NET Core
There are various reasons cause the swagger to fail to load the API definition and you will get the error shared in the below screenshot. Below are the possible reasons, Swagger misconfiguration Controller methods without HTTP verbs (HttpGet, HttpPost etc.) Same class name etc… Fig 1. Failed to load …
Adding Swagger to ASP.NET Core Web API Project
1. What is swagger? Swagger is an open-source set of rules and specifications. It is used for API documentation and testing the API endpoints. Swagger UI generates documentation based on the Swagger specification and provides an interactive UI for testing APIs and experimenting with different parameters and options. 2. How …