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

Host API Controller changes #55

Merged
merged 7 commits into from
Dec 19, 2024
Merged

Host API Controller changes #55

merged 7 commits into from
Dec 19, 2024

Conversation

anotheroneofthese
Copy link
Collaborator

This PR removes the unused status field from the order payload when creating orders (MLT-0076).
It does this by introducing a new payload, ApiCreateOrderPayload, which only accepts fields we will actually process (MLT-0083). The latter is also applied for items, via ApiCreateItemPayload

Copy link
Collaborator

@MormonJesus69420 MormonJesus69420 left a comment

Choose a reason for hiding this comment

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

NOTE:

I think that in ApiItemPayload the fields location and quantity can get rid of their
accessMode = READ_ONLY
schema attribute

- ACCESS_MODE removed from ApiItemPayload swagger schema
- Fix wrong class mapping with ApiCreateOrderPayload
- Remove status from example
@MormonJesus69420 MormonJesus69420 merged commit 69787f9 into main Dec 19, 2024
5 checks passed
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