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

Add httpResponseCode Prelude trait #546

Merged
merged 1 commit into from
Aug 31, 2020
Merged

Add httpResponseCode Prelude trait #546

merged 1 commit into from
Aug 31, 2020

Conversation

kstich
Copy link
Contributor

@kstich kstich commented Aug 28, 2020

This commit adds the httpResponseCode trait that indicates that
a structure member represents an HTTP response status code.

Explicitly modeling this as a field can be helpful for services that
wish to provide different response codes for an operation, like 200
or 201 for a PUT operation.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This commit adds the `httpResponseCode` trait that indicates that
a structure member represents an HTTP response status code.

Explicitly modeling this as a field can be helpful for services that
wish to provide different response codes for an operation, like 200
or 201 for a PUT operation.
@kstich kstich requested a review from mtdowling August 28, 2020 22:42
@kstich kstich merged commit 2a6d92b into master Aug 31, 2020
@kstich kstich deleted the httpResponseCode_trait branch August 31, 2020 19:51
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