Migrate AbstractExposableEndpoint deprecated constructor

Proprietary

The boolean-parameter constructor of AbstractExposableEndpoint has been deprecated in Spring Boot 3.4. This recipe transforms it to use the new constructor with an Access parameter instead of boolean enableByDefault.

io.moderne.java.spring.boot3.MigrateAbstractExposableEndpointConstructor
mod run . --recipe=io.moderne.java.spring.boot3.MigrateAbstractExposableEndpointConstructor

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.