Skip to content

Fix required parameter validation for Objc #760

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

Merged

Conversation

geekerzp
Copy link
Contributor

  • Added required parameter check for objc client.

    Currently, required parameter validation is missing/broken.
    This PR aims to improve the method/function by ensuring that the required parameter is set.
    Otherwise, an exception will be thrown.

  • Tested without issue.

    Test Case '-[PetApiTest testUploadFile]' passed (0.411 seconds).
    Test Suite 'PetApiTest' passed at 2015-05-19 09:04:38 +0000.
     Executed 6 tests, with 0 failures (0 unexpected) in 6.423 (6.426) seconds
    Test Suite 'PetstoreClientTests.xctest' passed at 2015-05-19 09:04:38 +0000.
     Executed 6 tests, with 0 failures (0 unexpected) in 6.423 (6.427) seconds
    Test Suite 'All tests' passed at 2015-05-19 09:04:38 +0000.
     Executed 6 tests, with 0 failures (0 unexpected) in 6.423 (6.429) seconds
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 31.758 s
    [INFO] Finished at: 2015-05-19T17:04:38+08:00
    [INFO] Final Memory: 11M/156M
    [INFO] ------------------------------------------------------------------------

fehguy added a commit that referenced this pull request May 21, 2015
…eter

Fix required parameter validation for Objc
@fehguy fehguy merged commit e66f9d7 into swagger-api:develop_2.0 May 21, 2015
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

Successfully merging this pull request may close these issues.

2 participants