-
Notifications
You must be signed in to change notification settings - Fork 1
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
Restful API for orders #133
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does authentication work?
|
The |
We also need to implement token support for the authenticator |
product = ProductSerializer(many=False, read_only=True) | ||
user = UserRelatedField(many=False, read_only=True) | ||
|
||
def validate_product_id(self, value): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be formulated better
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean?
As stated here, there is no easy way to implement manual schema adjustments to AutoSchema of OpenAPI for now, so we have to write our own. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ja opzicht nice, we moeten alleen ff een issue openen om wat uitgebreidere documentatie hier toe te voegen en OAuth scopes toe te voegen.
Added a Restful API for orders application.
Added the following:
Removed the following:
To test you can visit
/api/docs
.Closes #125
Closes #101