Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wiki] OHHTTPStubsResponse to HTTPStubsResponse with Swift #334

Open
6 of 9 tasks
soranoba opened this issue Oct 26, 2020 · 4 comments
Open
6 of 9 tasks

[wiki] OHHTTPStubsResponse to HTTPStubsResponse with Swift #334

soranoba opened this issue Oct 26, 2020 · 4 comments

Comments

@soranoba
Copy link

soranoba commented Oct 26, 2020

New Issue Checklist

Environment

  • version of OHHTTPStubs: 9.0.0
  • integration method you are using:
    • Cocoapods
    • Carthage
    • submodule
    • other
  • version of the tool you use: [INSERT VERSION HERE]

Issue Description

It seems that some wiki contents are incorrect.
https://github.com/AliSoftware/OHHTTPStubs/wiki/Usage-Examples

// wrong
OHHTTPStubsResponse(data: stubData!, statusCode:200, headers:nil)
// correct
HTTPStubsResponse(data: stubData!, statusCode:200, headers:nil)
Complete output when you encounter the issue (if any)
@plasmabal
Copy link

I noticed the error, too. Too bad cannot edit the wiki and send a PR. It should be a quick and easy fix.

@jkw-statsig
Copy link

+1, the issue is still here and confusing for new users. Would be nice if we can edit the wikis

@mxcl
Copy link
Contributor

mxcl commented Jun 1, 2021

The curse of open source. Wasted half an hour on this.

@mikaelacaron
Copy link

+1 very confusing for new users!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants