I think this is because of differences between Java and the REGEX format supported in the editor. Could you please open an issue in swagger-core so we can see about converting the syntax to the spec supported one?
> On Feb 4, 2017, at 2:52 PM, alex.rhomb...@temet.ch wrote: > > 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, the definition is accepted > > -- > 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-swaggersocket+unsubscr...@googlegroups.com > <mailto:swagger-swaggersocket+unsubscr...@googlegroups.com>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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-swaggersocket+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.