
club.zhcs.swagger.SwaggerCustomerController Maven / Gradle / Ivy
package club.zhcs.swagger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import club.zhcs.swagger.SwaggerConfigurationProerties.Customer;
/**
* @author Kerbores([email protected])
*
*/
@RestController
public class SwaggerCustomerController {
@Autowired
SwaggerConfigurationProerties config;
@GetMapping("swagger-customer")
public Customer customer() {
return config.getCustomer();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy