dropwizard-swagger icon indicating copy to clipboard operation
dropwizard-swagger copied to clipboard

crashing with @ApiOperation(hidden = true)

Open apetersson opened this issue 9 years ago • 0 comments

i tried to exclude some functions meant for superusers only by using this attribute.

it crashes with this stacktrace:

Exception in thread "main" java.lang.NullPointerException
at com.wordnik.swagger.jaxrs.Reader.read(Reader.java:161)
at com.wordnik.swagger.jaxrs.Reader.read(Reader.java:64)
at com.wordnik.swagger.jaxrs.Reader.read(Reader.java:55)

looking at the source, it never could have worked.

apetersson avatar Nov 13 '15 16:11 apetersson