Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rijusougata13 committed Apr 4, 2023
1 parent 83649e4 commit b3e7c47
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
*
* @author Stephane Nicoll
*/
@Controller
@RestController
public class CommandLineMetadataController extends AbstractMetadataController {

private final CommandLineHelpGenerator commandLineHelpGenerator;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
* @param <R> the {@link ProjectRequest} type to use to bind request parameters
* @author Stephane Nicoll
*/
@Controller
@RestController
public abstract class ProjectGenerationController<R extends ProjectRequest> {

private static final Log logger = LogFactory.getLog(ProjectGenerationController.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
*
* @author Stephane Nicoll
*/
@Controller
@RestController
public class ProjectMetadataController extends AbstractMetadataController {

/**
Expand All @@ -67,7 +67,6 @@ public ProjectMetadataController(InitializrMetadataProvider metadataProvider,
}

@RequestMapping(path = "/metadata/config", produces = "application/json")
@ResponseBody
public InitializrMetadata config() {
return this.metadataProvider.get();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*
* @author Stephane Nicoll
*/
@Controller
@RestController
public class SpringCliDistributionController {

private final InitializrMetadataProvider metadataProvider;
Expand Down

0 comments on commit b3e7c47

Please sign in to comment.