How mitsuha-24/what-should-i-wear works
What-should-I-wear is a Spring Boot API that accepts a city-based recommendation request and returns weather-based outfit guidance. The README documents real-time weather-condition mapping, tier-based recommendation logic, and REST endpoints; the source excerpts are unavailable, so internal calls and any external weather provider cannot be verified. The graph shows the documented request-to-result stages and the relevant source files without asserting unshown implementation details.
Main entry points: ClothingController.java Clothing controller · WeatherService.java Weather service · wearing.java Outfit rules · WeatherResponse.java Weather response
Components 5
REST API
- Clothing controller
src/main/java/com/wear/demo/ClothingController.java
Recommendation
- Weather service
src/main/java/com/wear/demo/WeatherService.java - Outfit rules
src/main/java/com/wear/demo/wearing.java - Weather response
src/main/java/com/wear/demo/WeatherResponse.java
Other components
- API user
Connections 5
- API user → Clothing controller: requests recommendation
README.md - Clothing controller → Weather service: gets recommendation
- Weather service → Outfit rules: maps conditions
- Weather service → Weather response: uses weather data
- Clothing controller → API user: serves result
README.md