Skip to content

Commit 446aee4

Browse files
committed
chore: clearify default response type
1 parent b4bd6f3 commit 446aee4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

client/deployment/src/main/java/io/quarkiverse/openapi/generator/deployment/CommonItemConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public interface CommonItemConfig {
6868

6969
/**
7070
* Defines if the methods should return {@link jakarta.ws.rs.core.Response},
71-
* {@link org.jboss.resteasy.reactive.RestResponse} or a model. Default is {@code false}.
71+
* {@link org.jboss.resteasy.reactive.RestResponse} or a model. By default, it returns the model in the specification.
7272
*/
7373
@WithName("return-response")
7474
Optional<String> returnResponse();
@@ -94,7 +94,7 @@ public interface CommonItemConfig {
9494

9595
/**
9696
* Defines with SmallRye Mutiny enabled if methods should return {@link jakarta.ws.rs.core.Response},
97-
* {@link org.jboss.resteasy.reactive.RestResponse} or a model. Default is {@code false}.
97+
* {@link org.jboss.resteasy.reactive.RestResponse} or a model. By default, it returns the model in the specification.
9898
*/
9999
@WithName("mutiny.return-response")
100100
Optional<String> mutinyReturnResponse();

docs/modules/ROOT/pages/includes/quarkus-openapi-generator_quarkus.openapi-generator.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ endif::add-copy-button-to-config-props[]
183183

184184
[.description]
185185
--
186-
Defines if the methods should return `jakarta.ws.rs.core.Response`, `org.jboss.resteasy.reactive.RestResponse` or a model. Default is `false`.
186+
Defines if the methods should return `jakarta.ws.rs.core.Response`, `org.jboss.resteasy.reactive.RestResponse` or a model. By default, it returns the model in the specification.
187187

188188

189189
ifdef::add-copy-button-to-env-var[]
@@ -267,7 +267,7 @@ endif::add-copy-button-to-config-props[]
267267

268268
[.description]
269269
--
270-
Defines with SmallRye Mutiny enabled if methods should return `jakarta.ws.rs.core.Response`, `org.jboss.resteasy.reactive.RestResponse` or a model. Default is `false`.
270+
Defines with SmallRye Mutiny enabled if methods should return `jakarta.ws.rs.core.Response`, `org.jboss.resteasy.reactive.RestResponse` or a model. By default, it returns the model in the specification.
271271

272272

273273
ifdef::add-copy-button-to-env-var[]
@@ -882,7 +882,7 @@ endif::add-copy-button-to-config-props[]
882882

883883
[.description]
884884
--
885-
Defines if the methods should return `jakarta.ws.rs.core.Response`, `org.jboss.resteasy.reactive.RestResponse` or a model. Default is `false`.
885+
Defines if the methods should return `jakarta.ws.rs.core.Response`, `org.jboss.resteasy.reactive.RestResponse` or a model. By default, it returns the model in the specification.
886886

887887

888888
ifdef::add-copy-button-to-env-var[]
@@ -966,7 +966,7 @@ endif::add-copy-button-to-config-props[]
966966

967967
[.description]
968968
--
969-
Defines with SmallRye Mutiny enabled if methods should return `jakarta.ws.rs.core.Response`, `org.jboss.resteasy.reactive.RestResponse` or a model. Default is `false`.
969+
Defines with SmallRye Mutiny enabled if methods should return `jakarta.ws.rs.core.Response`, `org.jboss.resteasy.reactive.RestResponse` or a model. By default, it returns the model in the specification.
970970

971971

972972
ifdef::add-copy-button-to-env-var[]

0 commit comments

Comments
 (0)