Interface ResteasyJsonConfig
@ConfigRoot(phase=BUILD_TIME)
@ConfigMapping(prefix="quarkus.resteasy-json")
public interface ResteasyJsonConfig
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIf this is true (the default) then JSON is set to the default media type.
-
Method Details
-
jsonDefault
@WithDefault("true") boolean jsonDefault()If this is true (the default) then JSON is set to the default media type. If a method has no produces/consumes and there is no builtin provider than can handle the type then we will assume the response should be JSON. Note that this will only take effect if a JSON provider has been installed, such as quarkus-resteasy-jsonb or quarkus-resteasy-jackson.
-