@Path("/exercises")@Api(value = "exercises")public class Exercises { @Path("/{id}/instances") public Instances instances(@PathParam("id") long id) { return new Instances(id); }}
@Path("/instances")@Api(value = "instances")public class Instances { @Path("/{id}/participants") public Participants participants(@PathParam("id") long id) { return new Participants(id); }}
...That’s not a legal swagger-spec. Each of the {id}’s would need to be different, as in, have a unique name.
--
You received this message because you are subscribed to the Google Groups "Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.