Bom dia.
Após realizar as alterações para o cancelamento, esta retornando erro abaixo
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'consultaController': Unsatisfied dependency expressed through field 'agendaDeConsultas': Error creating bean with name 'agendaDeConsultas': Unsatisfied dependency expressed through field 'medicoRepository': Error creating bean with name 'medicoRepository' defined in com.github.paulopcrp.healthcare.api.domain.medico.MedicoRepository defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Could not create query for public abstract com.github.paulopcrp.healthcare.api.domain.medico.Medico com.github.paulopcrp.healthcare.api.domain.medico.MedicoRepository.escolherMedicoAleatorioLivreNaData(com.github.paulopcrp.healthcare.api.domain.medico.Especialidade,java.time.LocalDateTime); Reason: Validation failed for query for method public abstract com.github.paulopcrp.healthcare.api.domain.medico.Medico com.github.paulopcrp.healthcare.api.domain.medico.MedicoRepository.escolherMedicoAleatorioLivreNaData(com.github.paulopcrp.healthcare.api.domain.medico.Especialidade,java.time.LocalDateTime) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:716) ~[spring-beans-6.0.11.jar:6.0.11] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:696) ~[spring-beans-6.0.11.jar:6.0.11] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:145) ~[spring-beans-6.0.11.jar:6.0.11]