-
Notifications
You must be signed in to change notification settings - Fork 2
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
Documentation #44
Merged
Merged
Documentation #44
Changes from 7 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
5a79ca4
add swagger-ui-express package
AmmarBaki2 1fd614a
add swagger configuration to app.js
AmmarBaki2 61fbcbb
add check for swaggerToken header
AmmarBaki2 7c111d4
add swagger documentation
AmmarBaki2 fb4d2c2
add authorizationToken header
AmmarBaki2 98c034e
add instructions on how to authorize
AmmarBaki2 0d4f8ca
Merge remote-tracking branch 'origin' into documentation
AmmarBaki2 0548e0c
edit main description and delete summery
AmmarBaki2 d2cd4fc
remove swagger auth token
AmmarBaki2 06fc77f
merge main with documentation
AmmarBaki2 73757c6
Merge branch 'main' into documentation
AmmarBaki2 1b0d471
Merge branch 'main' into documentation
AmmarBaki2 c9e9377
add docs link to home page and edit app.use order
AmmarBaki2 8c6bf32
add request endpoints to documentation
AmmarBaki2 ce4e988
add rating endpoints to swagger
AmmarBaki2 e4f4ccc
add donate endpoint to swagger
AmmarBaki2 5c20321
fix rating path
AmmarBaki2 80116f6
edit rating route in swagger
AmmarBaki2 5ebbdbc
Merge remote-tracking branch 'origin' into documentation
AmmarBaki2 83e750e
edit production server url
AmmarBaki2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I had to send the authentication token with a header because the
Cookie
orSet-Cookie
headers are forbidden headers and the browser forbids swagger from setting them.You can refer to this issue that explains the problem, and this MDN article for forbidden headers list.