BACKEND(spring-microservice)

This category is for posts related to Spring, Spring Boot, and Spring-based microservices.

Test RESTful API of Adventuretube Microservice Using Springdoc Swagger UI

This blog outlines the full journey of integrating, adjusting, and testing Swagger UI for the Adventuretube microservices system using Springdoc, Spring Cloud Gateway, and finally with Postman3. The work is structured into five major phases: Benefits of Full Swagger UI and Postman Integration With these processes, you will have different aspects of benefit like below. […]

Test RESTful API of Adventuretube Microservice Using Springdoc Swagger UI Read More »

BACKEND(spring-microservice)

URI Construction and API Response Annotations in AuthController

1. Overview This document analyzes the register method in AuthController, focusing on the construction of the URI and the @ApiResponse annotations that define the API response structure. 2. Code Snippet @Operation(summary = “Signup user”) @ApiResponse(responseCode = “201”) // Created //@ApiResponse(responseCode = “404”, content = @Content(schema = @Schema(implementation = CommonErrorResponse.class))) @ApiResponse(responseCode = “401”, content = @Content(schema

URI Construction and API Response Annotations in AuthController Read More »

BACKEND(spring-microservice), Uncategorized

Swagger UI Intergation vis Spring Cloud Gateway #1

🧭 Overview This guide outlines the essential step-by-step setup for integrating Swagger 3 (OpenAPI 3) in a Spring Cloud microservices architecture. In my adventuretube microserice. It does require two separate two-phase of integration  🛠️ Two-Phase Integration Overview 🔹 Step 1: Swagger Configuration for Each Service Each microservice is configured with Springdoc OpenAPI to generate Swagger

Swagger UI Intergation vis Spring Cloud Gateway #1 Read More »

BACKEND(spring-microservice)

Understanding RESTful APIs and Fixing Common Mistakes

1. Introduction This document covers key concepts of RESTful APIs, the mistakes made in API design, why they were problematic, and how they were fixed. 2. What is a RESTful API? A RESTful API (Representational State Transfer API) is an architectural style for designing web services that follow a structured and predictable way of interacting

Understanding RESTful APIs and Fixing Common Mistakes Read More »

BACKEND(spring-microservice)

Ensuring Correct IP Registration in Eureka

📌 Issue: Eureka Registers the Wrong IP (169.254.x.x) 🔍 Problem Statement Auth-Service (running on Mac) was registered with 169.254.x.x (a link-local address) instead of its correct local network IP (192.168.x.x). This caused gateway routing failures, as the wrong IP was unreachable. As a result, remote debugging could not be triggered, making development and debugging impossible.

Ensuring Correct IP Registration in Eureka Read More »

BACKEND(spring-microservice)