Closed
Description
- Springdoc can generate api-docs for default endpoints using configuration
springdoc.show-actuator=true
But does not generate api-docs for custom actuator endpoint .
Custom endpoint example below
@RestControllerEndpoint(id = "tenant")
public class TenantEndpoint {
@GetMapping("/customer/{id}")
public String getTenantById(@PathVariable("id") String customerId) {
return "Tenant_" + customerId;
}
}
- What is the actual result using OpenAPI Description (yml or json)?
Describe the solution you'd like
- Generate api-docs for custom Actuator endpoint