After migrating from springdoc-openapi v1 to v2, we started experiencing issues with requests using a query param DTO.
Previously, requests were structured as standard query parameters, but now they are being URL-encoded, leading to errors.
Here is an example of a swagger request object query:
Although the requests work fine when using curl, it seems to be an issue with the new version of springdoc-openapi v2(swagger).
It doesn't appear to be a application problem.
How should we address this?
I am using org.springdoc:springdoc-openapi-starter-webmvc-ui:2.6.0
After migrating from springdoc-openapi v1 to v2, we started experiencing issues with requests using a query param DTO. Previously, requests were structured as standard query parameters, but now they are being URL-encoded, leading to errors.
Here is an example of a swagger request object query:
With springdoc-openapi v1, the request URL looked like this:
However, after upgrading to springdoc-openapi v2, the request URL changed to the following (with the query parameters URL-encoded):
Decoded, it looks like:
Although the requests work fine when using curl, it seems to be an issue with the new version of springdoc-openapi v2(swagger). It doesn't appear to be a application problem.
How should we address this?
I am using
org.springdoc:springdoc-openapi-starter-webmvc-ui:2.6.0