package io.github.saidie.plantuml_api;

import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

@RepositoryRestResource
public interface AccountRepository extends PagingAndSortingRepository<Account, Long> {
}

@@ -293,10 +293,62 @@
 Long%3E %7B%0A
+    public Account findByUsername(String username);%0A
 %7D%0A

Add method to find account by username to the repository