-
Notifications
You must be signed in to change notification settings - Fork 598
Contributors Examples
AliSoftware edited this page Mar 17, 2017
·
2 revisions
In case you haven't read it already, you can find some "official" usage examples in this wiki page, showing short snippets and specific use cases.
But if you're looking for more in-depth examples or what people do with this library, or want to share how you use OHHTTPStubs in your project or the configuration you use, feel free to enrich this wiki page to share your own examples with the community.
Feel free to edit this page to add your own examples there
-
Here's a gist by @wwe-johndpope showing:
- the usage of a dictionary to list the absolute URLs to stub and their corresponding local JSON files to stub the request with
- the use of Swagger APIs to get examples from a Swagger documentation and use them as stubs for your requests