Closed seriema closed 9 years ago
Does anyone really want this or was I just feature-creeping?
+1, excellent work, I thought on being backward compatibility being able to handle an array of strings and/or regexs leaving simple string to not get a breaking change.
By the way the only issue I have is only work with true option, don't work if I use auto or number for status code. Even not working in demo http://johansson.jp/angular-apimock/#/demo-simple?apimock=auto
@Wolfium I created an issue for the bug you reported: #37 Feel free to add any details if you'd like.
Currently
apiMock
simply does astring.replace
to changeapiPath
intomockDataPath
.Two other options could be added:
apiPath
.mockDataPath
.