-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Swagger documentation and add BasicAuth (#82)
### TL;DR Updated API documentation and added basic authentication. ### What changed? - Removed unnecessary contact information and terms of service from API documentation - Added license information to Swagger documentation - Updated host and base path in Swagger configuration - Implemented basic authentication for API endpoints - Updated Swagger info with version, title, and description ### How to test? 1. Run the API server 2. Access the Swagger documentation at `/swagger/index.html` 3. Verify that the updated information is displayed correctly 4. Test API endpoints using basic authentication ### Why make this change? This change improves the API documentation by removing unnecessary information and adding important details like licensing. It also enhances security by implementing basic authentication for API endpoints, ensuring that only authorized users can access the API.
- Loading branch information
Showing
4 changed files
with
55 additions
and
17 deletions.
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