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
@@ -52,8 +51,7 @@ public JShellResult eval(
52
51
@ Parameter (description = "id of the startup script to use" )
53
52
@ RequestParam (required = false )
54
53
StartupScriptId startupScriptId ,
55
- @ RequestBody
56
- String code )
54
+ @ RequestBody String code )
57
55
throws DockerException {
58
56
return service .session (id , startupScriptId )
59
57
.eval (code )
You can’t perform that action at this time.
0 commit comments