Currently interpol allows one endpoint definition file to contain multiple competing definitions: e.g. 2 response definitions for the same version. This can cause problems. Ideally, interpol should raise an error when an Endpoint is instantiated with a data hash like this. Note that it needs to be able to handle definitions that vary by status code, so that should be taken into account as well.
Currently interpol allows one endpoint definition file to contain multiple competing definitions: e.g. 2 response definitions for the same version. This can cause problems. Ideally, interpol should raise an error when an Endpoint is instantiated with a data hash like this. Note that it needs to be able to handle definitions that vary by status code, so that should be taken into account as well.