Re: How to override pattern from java @Pattern validation

2017-02-04 Thread alex . rhomberg
Thanks, I did: https://github.com/swagger-api/swagger-core/issues/2102 -- 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

Re: How to override pattern from java @Pattern validation

2017-02-04 Thread alex . rhomberg
Relevant part in yaml: properties: id: type: integer format: int64 name: type: string pattern: '(?U)\w[\w -]*\w' Results in Swagger error Object didn't pass validation for format regex: (?U)\w[\w -]*\w If I remove the (?U) in swagger editor,

ReaderListener not executed

2016-09-07 Thread alex . rhomberg
I have inserted a ReaderListener to see whether I can change the duplicate operationId values generated in my inherited classes. The ReaderListener is in the same package where my scanned @Api classes are. All it currently does is wait for the breakpoint to be hit: public class MyListener

Re: swagger-jersey-jaxrs genereates duplicate operationIds when using inheritance

2016-09-07 Thread alex . rhomberg
I tried setting a nickname in the base class, but that same nickname was then used in all subclasses, so it again resulted in duplicate operationIds. Would I have to @Override the methods in the subclasses, just to be able to set different nicknames? *Shouldn't the generated default