Scott Triglia

Results 6 issues of Scott Triglia

reporting for @nattofriends Creating a request like: ``` curl -X POST localhost:8080/my_json_endpoint -H "Content-Type:application/json" -d 'definitely not json' ``` and calling unmarshal_request throws this error: ``` pyramid_swagger/tween.py:526: in swaggerize_request request_data...

I wanted to make this tracking ticket for what deprecated features we can remove (!) in version 3.0. Known things to remove: - Remove all support for Swagger version 1.2...

enhancement

#128 discusses exposing data on the endpoints represented in the Swagger spec. In addition, some users may want to avoid having to manually register each of these into Pyramid. We...

enhancement

See https://http.cat/405 If pyramid_swagger is configured to be strict, we can assume that any incoming request needs to match a resource _and_ method in our Swagger spec. If it matches...

enhancement

tween.py currently contains this logic: ``` python # Don't attempt to validate non-success responses in 1.2 if not 200

enhancement

It is quite easy to generate tuples of (name, pattern, method_type) from a swagger spec and provide these for users wishing to programmatically register their endpoints with pyramid. We should...

enhancement