Skip to content

Commit 1898dfa

Browse files
committed
removed body examples
1 parent 92bbc75 commit 1898dfa

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

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

0 commit comments

Comments
 (0)