Skip to content

Commit 78e8f21

Browse files
committed
new release
1 parent 187ad27 commit 78e8f21

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎python_framework/api/src/service/openapi/OpenApiDocumentationFile.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
from python_helper import Constant as c
33
from python_helper import StringHelper
44

5-
65
KW_UI = 'ui'
76
KW_JSON = 'json'
87
KW_API = 'api'

‎python_framework/api/src/service/openapi/OpenApiManager.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def addSwagger(apiInstance, appInstance):
6262
documentationUrl,
6363
DOCUMENTATION_FILE
6464
)
65-
swaggerUi._static_folder = f'{globals.currentPath}{KW_API}{globals.OS_SEPARATOR}{KW_RESOURCE}{globals.OS_SEPARATOR}{KW_OPEN_API}{KW_UI}{globals.OS_SEPARATOR}'
65+
swaggerUi._static_folder = f'{globals.currentPath}api{globals.OS_SEPARATOR}resource{globals.OS_SEPARATOR}swaggerui{globals.OS_SEPARATOR}'
6666
# swaggerUi._static_folder = f'{OpenApiDocumentationFile.getDocumentationFolderPath(apiInstance)}{globals.OS_SEPARATOR}'
6767
appInstance.register_blueprint(swaggerUi, url_prefix=documentationUrl)
6868
OpenApiDocumentationFile.overrideDocumentation(apiInstance)

‎setup.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from distutils.core import setup
22

3-
version = '0.0.1-28'
3+
version = '0.0.1-29'
44
name = 'python_framework'
55
url = f'https://github.com/SamuelJansen/{name}/'
66

0 commit comments

Comments
 (0)