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
As in the example below, two separate APIs are provided with different parameter conditions on the same path.
The response format is also different. However, in swagger json and ui, they are configured and exposed as one.
Even if it is not supported by default, it would be nice if an option was provided that allows it to be exposed separately according to parameter conditions through on/off.
The text was updated successfully, but these errors were encountered:
Describe the bug
Not distinction between different parameter conditions on the same path in swagger json.
To Reproduce
Simple example project
https://github.com/Jelicho/springdoc-openapi-parameter-condition-example
As in the example below, two separate APIs are provided with different parameter conditions on the same path.
The response format is also different. However, in swagger json and ui, they are configured and exposed as one.
/api/example/{exampleNo}
application=service1
,application=service2
ExampleDataForService1Dto
,ExampleDataForService2Dto
swagger json
Expected behavior
The results of my custom configuration are as follows.
I would like it to be exposed separately according to parameter conditions as shown below.
swagger json
Additional context
Even if it is not supported by default, it would be nice if an option was provided that allows it to be exposed separately according to parameter conditions through on/off.
The text was updated successfully, but these errors were encountered: