Thanks guys, I ended up using the same object with one more field.
On Fri, Jan 8, 2021 at 5:53 PM Romain Manni-Bucau
wrote:
> Hi Ivan,
>
> Sure, openapi schema supports oneOf([1]) - but not all json clients so
> take care.
> Personally I would either propose you to merge the models in one or -
Hi Ivan,
Sure, openapi schema supports oneOf([1]) - but not all json clients so take
care.
Personally I would either propose you to merge the models in one or -
better - not use multiple shapes even if it is not required.
The main issue is that doing so you easily break you caller error handling.
Hi Ivan,
What I recall is that oneOf is not part of Swagger version 2. But I haven't
try it yet with the maven plugin you mention.
El vie, 8 ene 2021 a las 7:08, Ivan Junckes Filho ()
escribió:
> Hello guys, I would like to know if there is a way with
> geronimo-openapi-plugin to generate the do
Hello guys, I would like to know if there is a way with
geronimo-openapi-plugin to generate the documentation for different classes
in the same status code. I didn't tried different ways, but couldn't make
it work. Any advise on this? Is this supported?
@APIResponse(
name = "badRequest",
r