Skip to content

Commit

Permalink
Dynamically set Internet schme (http or https) for swagger interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Schaad committed Jan 28, 2023
1 parent 6434f20 commit 31e8e63
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
GovReady-Q Release Notes
========================

v0.11.4 (December 17, 2022)
---------------------------

**Developer changes**

* Dynamically set Internet schme (http or https) for swagger interface to support proper URL strings in swagger.


v0.11.3 (December 10, 2022)
---------------------------

**Developer changes**

* Add processing for question actions targeted at system to handle `system/add_baseline/<value>` to add additional baseline set of controls to a system without deleting already assigned controls.A



v0.11.3 (December 10, 2022)
---------------------------

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.11.3
v0.11.4
2 changes: 2 additions & 0 deletions api/base/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from drf_yasg import openapi
from drf_yasg.views import get_schema_view
from rest_framework import permissions
from siteapp.settings import ACCOUNT_DEFAULT_HTTP_PROTOCOL, GOVREADY_URL


def get_swagger_urls():
Expand All @@ -11,6 +12,7 @@ def get_swagger_urls():
default_version='v1',
description="GovReady API",
),
url=f"{ACCOUNT_DEFAULT_HTTP_PROTOCOL}://{GOVREADY_URL.hostname}:{GOVREADY_URL.port}/api/v2/",
public=True,
permission_classes=(permissions.AllowAny,),
)
Expand Down

0 comments on commit 31e8e63

Please sign in to comment.