We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1898dfa commit a1d7f1cCopy full SHA for a1d7f1c
JShellAPI/src/main/java/org/togetherjava/jshellapi/rest/JShellController.java
@@ -3,7 +3,6 @@
3
import io.swagger.v3.oas.annotations.Operation;
4
import io.swagger.v3.oas.annotations.Parameter;
5
import io.swagger.v3.oas.annotations.media.Content;
6
-import io.swagger.v3.oas.annotations.media.ExampleObject;
7
import io.swagger.v3.oas.annotations.media.Schema;
8
import io.swagger.v3.oas.annotations.responses.ApiResponse;
9
@@ -52,8 +51,7 @@ public JShellResult eval(
52
51
@Parameter(description = "id of the startup script to use")
53
@RequestParam(required = false)
54
StartupScriptId startupScriptId,
55
- @RequestBody
56
- String code)
+ @RequestBody String code)
57
throws DockerException {
58
return service.session(id, startupScriptId)
59
.eval(code)
0 commit comments