A command that generates REST endpoints from entities should be created.
It should add the needed dependencies to the pom.xml as well as put some annotations on the existing repositories as well as on their method parameters.
The command should support making REST endpoint for a single entity as well as for all the entities in a package. If for a certain entity there is no repository, the command should generate it as well (reusing the code that is used by the add repository command).
This command should be only available if spring boot jpa facet is installed.
A command that generates REST endpoints from entities should be created.
It should add the needed dependencies to the pom.xml as well as put some annotations on the existing repositories as well as on their method parameters.
The command should support making REST endpoint for a single entity as well as for all the entities in a package. If for a certain entity there is no repository, the command should generate it as well (reusing the code that is used by the add repository command).
This command should be only available if spring boot jpa facet is installed.