osprey-mock-service
osprey-mock-service copied to clipboard
Generate an API mock service from a RAML definition using Osprey
I'd like to ask the mocking service which RAML document it currently mocks. It should use the mechanism described [here](https://github.com/raml-org/raml-spec/issues/556). One example of HTTP response for a hypothetical HTTP request:...
In the Raml for each request there is example for various responses (example, 200 and 404). Is it possible to mock also the 404 not found?
Much like is offered with [Stubby](https://github.com/mrak/stubby4node/), it'd be a killer feature to be able to simulate slow network requests.
Since Osprey now supports authentication schemes, we could support them with the mock service. However, since RAML describes no way to actually create credentials - I think it'll just be...
We could be generating random data based on the JSON schema, XML schema, etc. defined limitations. It could try to infer the type of data based on the field name,...
Cross-Origin Resource Sharing (CORS) can be set up in native JavaScript to run API mocking services on IIS. Is this feasible?