lbs-gitea/maptology/master This commit looks good
Remove auth module challenge by sending forbidden instead of unauthoized when no credentials are provided to work around automatic credential storage in browser and ugly pop-up dialogs that will not look good in a webapp. To support direct testing of get requests, consider using the api console instead. Alternatively, provide the new magic "testAuth" parameter as part of the query string. This will restore the original behavior, i.e. /user/current will fail immediately and /user/current?testAuth will generate a challenge, if no authorization header is provided as part of the request. Cleanup api responses and work around problems with swagger plugin that will not pickup security annotations on methods.