-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Fred Bricon <[email protected]>
- Loading branch information
Showing
3 changed files
with
47 additions
and
9 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
projects/quarkus/projects/maven/renarde-todo/src/main/java/rest/Game.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package rest; | ||
|
||
import javax.ws.rs.Path; | ||
import io.quarkiverse.renarde.Controller; | ||
|
||
@Path("/play") | ||
public class Game extends Controller { | ||
|
||
@Path("/id") | ||
public String endpoint() { | ||
return "id"; | ||
} | ||
|
||
public String start() { | ||
return "start"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters