-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
39 additions
and
4 deletions.
There are no files selected for viewing
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
17 changes: 17 additions & 0 deletions
17
tests/test-nima-jsonb/src/main/java/org/example/path/nest/PathNestController.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 org.example.path.nest; | ||
|
||
import io.avaje.http.api.Controller; | ||
import io.avaje.http.api.Get; | ||
import io.avaje.http.api.Path; | ||
import io.avaje.http.api.Produces; | ||
|
||
@Path("test") | ||
@Controller | ||
public class PathNestController { | ||
|
||
@Produces("text/plain") | ||
@Get | ||
String hello() { | ||
return "hi"; | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
tests/test-nima-jsonb/src/main/java/org/example/path/nest/package-info.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,5 @@ | ||
|
||
@Path("nested") | ||
package org.example.path.nest; | ||
|
||
import io.avaje.http.api.Path; |