Skip to content

Commit

Permalink
Hide zip download endpoint in swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
zachmullen committed Aug 22, 2023
1 parent c188eed commit a3599be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isic/zip_download/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def zip_file_attribution_file(request: HttpRequest, token: str = Query(...)): #
return HttpResponse("\n\n".join(attributions), content_type="text/plain")


@zip_router.get("/license-file/{license_type}/")
@zip_router.get("/license-file/{license_type}/", include_in_schema=False)
def zip_file_license_file(request: HttpRequest, license_type: str):
if license_type not in CopyrightLicense.values:
raise Http404
Expand Down

0 comments on commit a3599be

Please sign in to comment.