Possibly both, it depends on your logic.
From: <[email protected]> on behalf of Bryan Nelson <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Wednesday, 21 June 2017 at 13:28 To: Swagger <[email protected]> Subject: Re: Swagger-Core - Caching of Tag Data in Operations? Ok, so a couple things here. First, I have had situations where I have actually removed tags from the operation object and that has been reflected in the response. Which seams to me that the filter is actually manipulating the spec. However, assuming I am wrong on that...let's move on to point two. Second, are you saying that instead of using the filter at all I would do all of my manipulation in a class that extends ApiListingResource? If that's the case then am I correct in thinking that I would override getListingJsonResponse and manipulate the Swagger object from there in order to achieve all of my filtering? OR...would I use a combination of the filter and the extended ApiListingResource? On Wednesday, June 21, 2017 at 1:17:04 PM UTC-4, Ron wrote: The problem is not caching, the problem is that the filter doesn’t let you manipulate content of the spec – it just lets you filter out specific things (operations, paramters…). The ApiListingResource gives you access to the Swagger object itself, which you can manipulate with whatever logic you want. From: <[email protected]> on behalf of Bryan Nelson <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Wednesday, 21 June 2017 at 6:03 To: Swagger <[email protected]> Subject: Re: Swagger-Core - Caching of Tag Data in Operations? I've looked back over that previous thread, but I don't follow you. I understand how to extend ApiListingResource, but I don't understand how that would help me. How would that help me with the caching issue? Could you elaborate a bit? Thanks. -- 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. -- 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. -- 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.
