This is a Spring Boot microservice that exposes a /interconnections endpoint to return possible flight paths (direct and one-stop) between two airports based on Ryanair's APIs.
I tried to focus on clean structure, logic, and tested for edge cases.
- Filters direct and 1-stop flights
- Ensures layovers are valid (≥ 2 hours)
- Handles null / empty responses
- Includes basic integration-style tests using
MockMvc - Executable JAR included in
/target
You can run the included JAR with:
java -jar target/flightapi-0.0.1-SNAPSHOT.jar