-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* dev: disable vcs from development enviroment -buildvcs Whether to stamp binaries with version control information. By default, version control information is stamped into a binary if the main package and the main module containing it are in the repository containing the current directory (if there is a repository). Use -buildvcs=false to omit version control information. Signed-off-by: Kairo Araujo <[email protected]> * docs: swagger methods and parameter for download Improve the swagger documentation including - Fix correct method for /api/v1/download as GET instead POST - Include the parameter which allows users to try the endpoint directly from swagger documentation Signed-off-by: Kairo Araujo <[email protected]> * fix: Archivista Download API responses Archivista Download API returned 500 if a GitOID is available while the user calls the `/v1/download/<gitoid>` (`/download/<gitoid>`) endpoint. It is not an Internal Server Error (500) but a not-found for the GitOID endpoint. This PR fixes the HTTP status code, giving the users a more precise response. This commit also includes a better list of return codes to the Swagger documentation. It includes the UT Signed-off-by: Kairo Araujo <[email protected]> --------- Signed-off-by: Kairo Araujo <[email protected]>
- Loading branch information
1 parent
e7f13b2
commit d160aaf
Showing
6 changed files
with
238 additions
and
66 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
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.