teamcarma / swagger-jaxrs-doclet

This fork is no longer actively maintained, please switch to https://github.com/conorroche/swagger-doclet
Apache License 2.0
81 stars 38 forks source link

abstract sub resources dont work #46

Closed conorroche closed 9 years ago

conorroche commented 9 years ago

this was raised as a comment to issue #38, am raising as a separate issue.

for example:

public abstract class Bar {

@POST
@Path("/post")
public abstract void bar();

}

@Path("/foo") @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML }) public abstract class Foo {

@Path("/bar")
@Produces(MediaType.APPLICATION_JSON)
public abstract Bar getBar();

}

conorroche commented 9 years ago

i have now committed a fix for this, waiting to hear back from @TuomasKiviaho to see if this has resolved his issue

conorroche commented 9 years ago

no response so closing as tests passing and I have no reason not to believe this has been resolved