Skip to content

Add httpResponseCode Prelude trait#546

Merged
kstich merged 1 commit intomasterfrom
httpResponseCode_trait
Aug 31, 2020
Merged

Add httpResponseCode Prelude trait#546
kstich merged 1 commit intomasterfrom
httpResponseCode_trait

Conversation

@kstich
Copy link
Copy Markdown
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