Skip to content

Commit 3487ad4

Browse files
committed
Sync documentation of main branch
1 parent 7cea0a8 commit 3487ad4

File tree

5 files changed

+66
-2
lines changed

5 files changed

+66
-2
lines changed

_generated-doc/main/config/quarkus-all-config.adoc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67370,6 +67370,25 @@ h|[.extension-name]##REST Client##
6737067370
h|Type
6737167371
h|Default
6737267372

67373+
a|icon:lock[title=Fixed at build time] [[quarkus-rest-client_quarkus-rest-client-disable-smart-produces]] [.property-path]##link:#quarkus-rest-client_quarkus-rest-client-disable-smart-produces[`quarkus.rest-client.disable-smart-produces`]##
67374+
67375+
[.description]
67376+
--
67377+
By default, RESTEasy Reactive uses text/plain content type for String values and application/json for everything else.
67378+
67379+
MicroProfile Rest Client spec requires the implementations to always default to application/json. This build item disables the "smart" behavior of RESTEasy Reactive to comply to the spec
67380+
67381+
67382+
ifdef::add-copy-button-to-env-var[]
67383+
Environment variable: env_var_with_copy_button:+++QUARKUS_REST_CLIENT_DISABLE_SMART_PRODUCES+++[]
67384+
endif::add-copy-button-to-env-var[]
67385+
ifndef::add-copy-button-to-env-var[]
67386+
Environment variable: `+++QUARKUS_REST_CLIENT_DISABLE_SMART_PRODUCES+++`
67387+
endif::add-copy-button-to-env-var[]
67388+
--
67389+
|boolean
67390+
|`false`
67391+
6737367392
a|icon:lock[title=Fixed at build time] [[quarkus-rest-client_quarkus-rest-client-provider-autodiscovery]] [.property-path]##link:#quarkus-rest-client_quarkus-rest-client-provider-autodiscovery[`quarkus.rest-client.provider-autodiscovery`]##
6737467393

6737567394
[.description]

_generated-doc/main/config/quarkus-rest-client.adoc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,25 @@ h|[.header-title]##Configuration property##
77
h|Type
88
h|Default
99

10+
a|icon:lock[title=Fixed at build time] [[quarkus-rest-client_quarkus-rest-client-disable-smart-produces]] [.property-path]##link:#quarkus-rest-client_quarkus-rest-client-disable-smart-produces[`quarkus.rest-client.disable-smart-produces`]##
11+
12+
[.description]
13+
--
14+
By default, RESTEasy Reactive uses text/plain content type for String values and application/json for everything else.
15+
16+
MicroProfile Rest Client spec requires the implementations to always default to application/json. This build item disables the "smart" behavior of RESTEasy Reactive to comply to the spec
17+
18+
19+
ifdef::add-copy-button-to-env-var[]
20+
Environment variable: env_var_with_copy_button:+++QUARKUS_REST_CLIENT_DISABLE_SMART_PRODUCES+++[]
21+
endif::add-copy-button-to-env-var[]
22+
ifndef::add-copy-button-to-env-var[]
23+
Environment variable: `+++QUARKUS_REST_CLIENT_DISABLE_SMART_PRODUCES+++`
24+
endif::add-copy-button-to-env-var[]
25+
--
26+
|boolean
27+
|`false`
28+
1029
a|icon:lock[title=Fixed at build time] [[quarkus-rest-client_quarkus-rest-client-provider-autodiscovery]] [.property-path]##link:#quarkus-rest-client_quarkus-rest-client-provider-autodiscovery[`quarkus.rest-client.provider-autodiscovery`]##
1130

1231
[.description]

_generated-doc/main/config/quarkus-rest-client_quarkus.rest-client.adoc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,25 @@ h|[.header-title]##Configuration property##
77
h|Type
88
h|Default
99

10+
a|icon:lock[title=Fixed at build time] [[quarkus-rest-client_quarkus-rest-client-disable-smart-produces]] [.property-path]##link:#quarkus-rest-client_quarkus-rest-client-disable-smart-produces[`quarkus.rest-client.disable-smart-produces`]##
11+
12+
[.description]
13+
--
14+
By default, RESTEasy Reactive uses text/plain content type for String values and application/json for everything else.
15+
16+
MicroProfile Rest Client spec requires the implementations to always default to application/json. This build item disables the "smart" behavior of RESTEasy Reactive to comply to the spec
17+
18+
19+
ifdef::add-copy-button-to-env-var[]
20+
Environment variable: env_var_with_copy_button:+++QUARKUS_REST_CLIENT_DISABLE_SMART_PRODUCES+++[]
21+
endif::add-copy-button-to-env-var[]
22+
ifndef::add-copy-button-to-env-var[]
23+
Environment variable: `+++QUARKUS_REST_CLIENT_DISABLE_SMART_PRODUCES+++`
24+
endif::add-copy-button-to-env-var[]
25+
--
26+
|boolean
27+
|`false`
28+
1029
a|icon:lock[title=Fixed at build time] [[quarkus-rest-client_quarkus-rest-client-provider-autodiscovery]] [.property-path]##link:#quarkus-rest-client_quarkus-rest-client-provider-autodiscovery[`quarkus.rest-client.provider-autodiscovery`]##
1130

1231
[.description]

_versions/main/guides/rest-client.adoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2029,8 +2029,11 @@ To change this behavior, set the `quarkus.rest-client-reactive.scope` property t
20292029
- it is not possible to set `HostnameVerifier` or `SSLContext`
20302030
- a few things that don't make sense for a non-blocking implementations, such as setting the `ExecutorService`, don't work
20312031

2032-
2033-
20342032
== Further reading
20352033

20362034
* link:https://download.eclipse.org/microprofile/microprofile-rest-client-2.0/microprofile-rest-client-spec-2.0.html[MicroProfile Rest Client specification]
2035+
2036+
== Configuration Reference
2037+
2038+
include::{generated-dir}/config/quarkus-rest-client_quarkus.rest-client.adoc[opts=optional, leveloffset=+1]
2039+
include::{generated-dir}/config/quarkus-rest-client-config.adoc[opts=optional, leveloffset=+1]

_versions/main/guides/resteasy-client.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -670,3 +670,7 @@ describes how to set it up in detail.
670670
== Further reading
671671

672672
* link:https://download.eclipse.org/microprofile/microprofile-rest-client-2.0/microprofile-rest-client-spec-2.0.html[MicroProfile Rest Client specification]
673+
674+
== Configuration Reference
675+
676+
include::{generated-dir}/config/quarkus-rest-client-config.adoc[opts=optional, leveloffset=+1]

0 commit comments

Comments
 (0)