You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It properly generates the swaggerUI interface with the two fields id1 and id2, but clicking on Execute it doesn't send the request.
If I put required=true on @RequestParam it generates a field with a json (required), that it's not what I want, but it still doesn't work.
If I leave @RequestParam(required = false) and i set required=false on the Parameters it send the request, but without the query parameters, so it doesn't work.
To Reproduce
Steps to reproduce the behavior:
What version of spring-boot you are using? 2.7.4
What modules and versions of springdoc-openapi are you using?
org.springdoc:springdoc-openapi-ui:1.6.11
org.springdoc:springdoc-openapi-webmvc-core:1.6.11
What is the actual and the expected result using OpenAPI Description (yml or json)?
The json seems to be ok, the parameters are correctly mapped
Provide with a sample code (HelloController) or Test that reproduces the problem:
A clear and concise description of what you expected to happen.
I expect that the swaggerUI builds the request correctly with the two query parameters defined
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm defining a method in a controller class:
It properly generates the swaggerUI interface with the two fields id1 and id2, but clicking on Execute it doesn't send the request.
If I put required=true on @RequestParam it generates a field with a json (required), that it's not what I want, but it still doesn't work.
If I leave @RequestParam(required = false) and i set required=false on the Parameters it send the request, but without the query parameters, so it doesn't work.
To Reproduce
Steps to reproduce the behavior:
What version of spring-boot you are using?
2.7.4
What modules and versions of springdoc-openapi are you using?
org.springdoc:springdoc-openapi-ui:1.6.11
org.springdoc:springdoc-openapi-webmvc-core:1.6.11
What is the actual and the expected result using OpenAPI Description (yml or json)?
The json seems to be ok, the parameters are correctly mapped
Expected behavior
I expect that the swaggerUI builds the request correctly with the two query parameters defined
The text was updated successfully, but these errors were encountered: