From e71c488cf518aa2a41c1f3564ef0df656eec6772 Mon Sep 17 00:00:00 2001 From: Ibrahim H Date: Thu, 18 Apr 2024 15:21:47 +0100 Subject: [PATCH] Fix: Command create commands (#10736) Create a client using `create-client helloClient` will ends up by creating `HelloClientClient.groovy` file, and so is `create-controller` command. --- src/main/docs/guide/languageSupport/groovy.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/docs/guide/languageSupport/groovy.adoc b/src/main/docs/guide/languageSupport/groovy.adoc index 7ce5c237054..6994ce5e8af 100644 --- a/src/main/docs/guide/languageSupport/groovy.adoc +++ b/src/main/docs/guide/languageSupport/groovy.adoc @@ -72,7 +72,7 @@ We can also create a client - don't forget Micronaut framework can act as a clie [source,bash] .Create a client ---- -mn> create-client helloClient +mn> create-client hello | Rendered template Client.groovy to destination src/main/groovy/hello/world/HelloClient.groovy ---- @@ -98,7 +98,7 @@ Now let's create a controller: [source,bash] .Create a controller ---- -mn> create-controller helloController +mn> create-controller hello | Rendered template Controller.groovy to destination src/main/groovy/hello/world/HelloController.groovy | Rendered template ControllerSpec.groovy to destination src/test/groovy/hello/world/HelloControllerSpec.groovy mn>