-
Notifications
You must be signed in to change notification settings - Fork 39.5k
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
Update error status code documentation a little bit. #5583
Conversation
@@ -238,8 +238,6 @@ The following HTTP status codes may be returned by the API. | |||
|
|||
* `200 StatusOK` | |||
* Indicates that the request completed successfully. | |||
* `201 StatusCreated` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you removing 201?
We do return 201:
https://github.com/GoogleCloudPlatform/kubernetes/blob/master/test/integration/auth_test.go#L201
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed.
Also, this doesn't close the issue. auth_test might be reasonably comprehensive, but we're not yet documenting status codes in the swagger, which we could. |
Ok, I thought with the removal of operations, we no longer returned 201. Thanks
|
Comments addressed. PTAL. |
LGTM |
Update error status code documentation a little bit.
@bgrant0607
Partially addresses #2174