Hi, I use swagger-inflector and swagger-codegen to create a java jersey2 app. All my unimplemented methods are mocked by inflector and return json. But the methods I implement return xml by default. The "@Produces" annotation seems to be ignored. The only way to make them return json is to set the "Accept" header with every request.
How can I set the output format of all controller methods to json? Cheers, Arian -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
