Skip to content

Commit 59fb857

Browse files
committed
removed body examples
1 parent ca1d7a1 commit 59fb857

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

JShellAPI/src/main/java/org/togetherjava/jshellapi/rest/JShellController.java

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -53,23 +53,6 @@ public JShellResult eval(
5353
@Parameter(description = "id of the startup script to use")
5454
@RequestParam(required = false)
5555
StartupScriptId startupScriptId,
56-
@io.swagger.v3.oas.annotations.parameters.RequestBody(
57-
content = {
58-
@Content(
59-
mediaType = "text/plain",
60-
examples = {
61-
@ExampleObject(
62-
name = "Hello world example",
63-
value =
64-
"System.out.println(\"Hello,"
65-
+ " World!\");"),
66-
@ExampleObject(
67-
name =
68-
"Hello world example with startup"
69-
+ " script",
70-
value = "println(\"Hello, World!\");")
71-
})
72-
})
7356
@RequestBody
7457
String code)
7558
throws DockerException {

0 commit comments

Comments
 (0)