Dmitry Dygalo

Results 492 comments of Dmitry Dygalo

Hi @niecore ! Cool idea! I was planning to refactor all the filtering code in the next few weeks and definitely will think about filtering by vendor extensions :) Could...

Hi! Thanks for reporting! You need to specify the proper `media_type` value, in this case, `application/json`. Unfortunately, this part is not much documented, there is already a tracking issue to...

Yep, the example you provided is correct

> TypeError: make_case() got an unexpected keyword argument 'media_type' It was added in Schemathesis `3.1.0`. This behavior can be observed in older versions. What is the value of `schemathesis.__version__` in...

It is strange. Here is my output with Schemathesis checked out to the `3.7.3` tag: ``` In [1]: import schemathesis In [2]: schemathesis.__version__ Out[2]: '3.7.3' In [3]: schema = schemathesis.from_uri("http://127.0.0.1:8081/schema.yaml",...

> Would it make sense to have sub commands for openapi and graphql? It is definitely an option to consider. I am not entirely sure what will be the most...

> Ohh I like the auto detect idea, but it would be good to have the possibility to explicitly override the auto detect as well. The override could be something...

Hi @Lakitna It is a fascinating use case! :) I don't think that there is a direct way to do so on the Python side, but a similar behavior may...

> However, if I understand its purpose correctly, it would result in non-200 status codes never being tested. Testing if errors work as expected is also important. Hence my approach...

I really like this variant: ``` @schema.require_status_code(200, 400) ``` Maybe it could be generalized so that the user can supply a custom "wrapping" check.