package com.example.demo.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.service.registry.ImportHttpServices;

/**
 * Registers every @HttpExchange interface found under a package into one group,
 * instead of listing the interfaces one by one with types = ...
 * Compiled against Spring Framework 7.0.10; not run (the module's own config uses types = ...).
 */
@ImportHttpServices(
    group = "jsonplaceholder",
    basePackages = "com.example.demo.client"
)
@Configuration(proxyBeanMethods = false)
class BasePackageScan {
}
