Docs: the REST Client guide ties the application/json default to the Jackson extension
Author: rolfedhCreated Oct 1, 2026Updated Oct 1, 2026
Labelsarea/rest-clientarea/jackson
docs/src/main/asciidoc/rest-client.adoc opens the NOTE on line 127 with:
When the `quarkus-rest-client-jackson` extension is installed, Quarkus will use the `application/json` media type
by default for most return values, unless the media type is explicitly set via `@Produces` or `@Consumes` annotations.The default does not depend on Jackson. The core REST Client extension sets it for every application in RestClientReactiveProcessor.setUpClientBuildTimeProperties:
consumes.produce(new RestClientDefaultConsumesBuildItem(MediaType.APPLICATION_JSON, 10));
produces.produce(new RestClientDefaultProducesBuildItem(MediaType.APPLICATION_JSON, 10));A reader who uses quarkus-rest-client-jsonb, which #57073 adds to the guide, can conclude from the note that the default does not apply to them.
Suggested fix: drop the Jackson condition, for example "Quarkus uses the application/json media type by default for most return values, unless the media type is explicitly set via @Produces or @Consumes annotations."
Source: quarkusio/quarkus