Scott Triglia

Results 25 comments of Scott Triglia

Came up again (in a slightly different form) in #156. Should be possible to simplify how we're handling this in general once we don't have to support Swagger 1.2.

What version of pyramid are you using? And can you give a super simple endpoint definition for your pyramid app? I can't say I'm very familiar with traversal style configuration,...

Definitely thanks for the reproduction. I suspect it is possible (Pyramid must be able to do path resolution or it couldn't route!) but it will likely be a little different...

We define our own routes in https://github.com/striglia/pyramid_swagger/blob/master/pyramid_swagger/api.py#L18. Perhaps that code won't respect the route prefix for some reason? Are you confident you're configuring this route prefix in advance of invoking...

Yep, I’d support the idea and probably also just do it globally. We probably need a wave of deprecations and eventual removals of config options anyway (especially 1.2 support) so...

And we may as well do this for both request and response validation right? Keep them separate but allow sampling between zero and all requests? On Mon, May 27, 2019...

Fair point -- maybe we think separately about request validation then. I think in general, response bodies tend to be far larger than request bodies, so there's probably more value...

Hi Maor, Can you help me out with a bit more diagnostic information? It would be useful to know: - What version of pyramid_swagger you're using - The complete configuration...

Ah thanks @deubs. Sounds like it's just the INI format being picky about strings then?

Hm. How do lists work in INI files? I was under the impression this worked, but now I'm having trouble finding any examples...