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

[Doc] fix checkoutState parameter in PlacedOrder swagger definition #611

Merged
merged 3 commits into from
Jan 16, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions doc/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1758,15 +1758,16 @@ definitions:
checkoutState:
description: "Current state of a checkout."
type: "string"
default: "cart"
default: "checkout"
EmilMassey marked this conversation as resolved.
Show resolved Hide resolved
externalDocs:
description: "Find out more about checkout states in the Sylius documentation."
url: "http://docs.sylius.com/en/latest/book/orders/checkout.html#checkout-state-machine"
enum:
- "cart"
- "new"
- "fulfilled"
- "cancelled"
- "addressed"
- "shipping_selected"
- "payment_selected"
- "completed"
checkoutCompletedAt:
description: "Date the order was completed in ISO 8601 format."
type: "string"
Expand Down