Package fr.metabocloud.core.apis
Class RootApi
java.lang.Object
fr.metabocloud.core.apis.RootApi
Controller for the root of the REST API "/" that handle when a request is sent on the root of the application.
It returns an informative message redirecting the user towards the OpenAPI documentation.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RootApi
protected RootApi()Protected constructor
-
-
Method Details
-
getRoot
Handle GET requests to the root `/` endpoint. It returns an informative message at the application root to redirect the user towards the OpenAPI documentation.- Returns:
- The message with the link of the OpenAPI documentation.
-