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
{{ message }}
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.
So turns out that with Spring, this worked fine (as the reader picked read the value), whereas JAX-RS reader was missing a line, so wasn't reading the value. I've pushed the fix, so will be fixed in the next release.
Just noticed that this is an issue in version 1.0.4. It works as expected if a I roll back to 0.1.9.
I have a number of APIs that are annotated like this:
In 0.1.9, the response object in generated swagger.json looks like this, as expected:
In 1.0.4, it looks like this:
So it seems that
code=201
in the@ApiOperation
annotation is being ignored.The text was updated successfully, but these errors were encountered: