File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
JShellAPI/src/main/java/org/togetherjava/jshellapi/rest Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 3
3
import io .swagger .v3 .oas .annotations .Operation ;
4
4
import io .swagger .v3 .oas .annotations .Parameter ;
5
5
import io .swagger .v3 .oas .annotations .media .Content ;
6
- import io .swagger .v3 .oas .annotations .media .ExampleObject ;
7
6
import io .swagger .v3 .oas .annotations .media .Schema ;
8
7
import io .swagger .v3 .oas .annotations .responses .ApiResponse ;
9
8
@@ -53,8 +52,7 @@ public JShellResult eval(
53
52
@ Parameter (description = "id of the startup script to use" )
54
53
@ RequestParam (required = false )
55
54
StartupScriptId startupScriptId ,
56
- @ RequestBody
57
- String code )
55
+ @ RequestBody String code )
58
56
throws DockerException {
59
57
return service .session (id , startupScriptId )
60
58
.eval (code )
You can’t perform that action at this time.
0 commit comments