Skip to content

Commit

Permalink
feat: Set EXTERNAL_DOCS setting for OpenAPI spec (#13430)
Browse files Browse the repository at this point in the history
  • Loading branch information
walpox authored Jan 16, 2025
1 parent 92dc789 commit c443322
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions weblate/api/spectacular.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ def get_spectacular_settings(
"drf_spectacular.hooks.postprocess_schema_enums",
"weblate.api.docs.add_middleware_headers",
],
"EXTERNAL_DOCS": {
"url": "https://docs.weblate.org/en/latest/",
"description": "Official Weblate documentation",
},
"TAGS": [
{
"name": "root",
Expand Down

0 comments on commit c443322

Please sign in to comment.