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

[mkt spec] Make REST responses compliant with standard HTTP Codes semantics #70

Merged
merged 2 commits into from
Dec 10, 2020

Conversation

tworec
Copy link
Contributor

@tworec tworec commented Dec 10, 2020

401:
$ref: 'common.yaml#/responses/Unauthorized'
404:
$ref: 'common.yaml#/responses/NotFound'
408:
$ref: 'common.yaml#/responses/Timeout'
409:
description: Agreement not in `Proposal` state.
description: Agreement not approved within given timeout. Try again.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this means that consecutive call to approveAgreement is allowed even if previous was successful.

Copy link
Contributor

@stranger80 stranger80 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed on the TechCouncil, in other words: LGTM :D

@stranger80 stranger80 merged commit 8fcbc2b into stranger80/all-apis-events Dec 10, 2020
@tworec tworec deleted the 2rec/market-event-api branch December 11, 2020 10:05
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.

None yet

2 participants