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 Nov 11, 2017. It is now read-only.
Currently the doclet will produce an operation object for each method, which breaks swagger.js. (The spec says "In the operations array, there MUST be only one Operation Object per method.")
I'm not sure what the correct way to handle this case is; I initially thought of merging the operations, but it's not clear how to do so since the parameters and responses can differ. For now I've hacked the doclet to recognize @ApiOperation(hidden=true) and skip any processing of the method if it's found.
The text was updated successfully, but these errors were encountered:
peterjanes
pushed a commit
to peterjanes/swagger-jaxrs-doclet
that referenced
this issue
Apr 25, 2014
I believe the following is valid JAX-RS (at least, it works, in my CXF-based service):
Currently the doclet will produce an operation object for each method, which breaks
swagger.js
. (The spec says "In the operations array, there MUST be only one Operation Object per method.")I'm not sure what the correct way to handle this case is; I initially thought of merging the operations, but it's not clear how to do so since the parameters and responses can differ. For now I've hacked the doclet to recognize
@ApiOperation(hidden=true)
and skip any processing of the method if it's found.The text was updated successfully, but these errors were encountered: