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
Hi,
There is an issue with schema generation from JAX-RS framework. Lest we have a service with three POST methods based on one path. Each Java methods have own Content-Type. For example:
If 1) is possible, then how to achieve it by using swagger annotations.
We didn’t find this in Open API reference doc. So, it seems there is no way to do it. So, we should define one POST request, where Request/Response Content describes all possibles Schemas.
The text was updated successfully, but these errors were encountered:
Hi,
There is an issue with schema generation from JAX-RS framework. Lest we have a service with three POST methods based on one path. Each Java methods have own Content-Type. For example:
The generaited shema looks like below:
As you can see:
So, the questions are:
We didn’t find this in Open API reference doc. So, it seems there is no way to do it. So, we should define one POST request, where Request/Response Content describes all possibles Schemas.
The text was updated successfully, but these errors were encountered: