REST API Tasarımı ve Versioning
RESTful API tasarım ilkeleri, idempotency, pagination, filtering, HATEOAS, versiyonlama stratejileri (URI, header, media type) ve OpenAPI/Swagger ile dokümantasyon. Backward compatibility kuralları.
Spring REST Controller örneği
@RestController
@RequestMapping("/api/v1/users")
public class UserController {
@GetMapping("/{id}") public ResponseEntity<UserDto> get(@PathVariable Long id) { /* ... */ }
}