The explorer does not give you the option to specify which content type to use. It shows one possible value, “application/xml, application/json” instead of separating the string into two values.
I know that it can be specified another way, such as:
But according to the standards, the initial rendition is valid form and must be handled. It should be noted that apiDiscovery-1.0 handles the situation correctly.
Currently running IBM Liberty 20.0.0.5 with JRE 8.
This has been fixed upstream for mpOpenApi-2.0 in smallrye/smallrye-open-api#989. As soon as they do a release we'll update our dependency so the fix gets into liberty.
When usingopenapi-3.1 , If a method has following defined:
The explorer does not give you the option to specify which content type to use. It shows one possible value, “application/xml, application/json” instead of separating the string into two values.
I know that it can be specified another way, such as:
But according to the standards, the initial rendition is valid form and must be handled. It should be noted thatapiDiscovery-1.0 handles the situation correctly.
Currently running IBM Liberty 20.0.0.5 with JRE 8.