Open lcofre opened 7 years ago
Currently swagger tester only test that returned data match the definition in the swagger spec, and send request using example data. So that's not possible for now, but could be a nice improvement 👍
@lcofre What interface do you have in mind?
Hi @flavianh !
I was thinking on providing a dict similar to the one for authorize_error:
params = {
'post': {
'/pet': {'200': {'name': 'saoirse', 'age': 5}}
}
}
Thanks for your interest!
@cyprien-g Is there a quick way to do it?
Hi!
I was wondering if is there a way to specify values for parameters in path, query or body, for each of the expected responses in the swagger file.
Thanks in advance for your help!