File tree Expand file tree Collapse file tree
python_framework/api/src/service/openapi Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,9 +65,12 @@ def addSwagger(apiInstance, appInstance):
6565 selfSrcPath = f"""src{ globals .OS_SEPARATOR } service{ globals .OS_SEPARATOR } openapi{ globals .OS_SEPARATOR } { __name__ .split ('.' )[- 1 ]} .py"""
6666 log .debug (addSwagger , f'selfSrcPath at "{ selfSrcPath } "' )
6767
68- apiInstance .documentationFolderPath = f'''{ __file__ .split (selfSrcPath )[0 ]} { KW_RESOURCE } { globals .OS_SEPARATOR } { KW_OPEN_API } { KW_UI } { globals . OS_SEPARATOR } '''
68+ apiInstance .documentationFolderPath = f'''{ __file__ .split (selfSrcPath )[0 ]} { KW_RESOURCE } { globals .OS_SEPARATOR } { KW_OPEN_API } { KW_UI } '''
6969 log .debug (addSwagger , f'apiInstance.documentationFolderPath at "{ apiInstance .documentationFolderPath } "' )
7070
71+ # apiInstance.documentationFolderPath = f'''{__file__.split(selfSrcPath)[0]}{KW_RESOURCE}{globals.OS_SEPARATOR}{KW_OPEN_API}{KW_UI}{globals.OS_SEPARATOR}'''
72+ # log.debug(addSwagger, f'apiInstance.documentationFolderPath at "{apiInstance.documentationFolderPath}"')
73+
7174 swaggerUi ._static_folder = apiInstance .documentationFolderPath
7275 log .debug (addSwagger , f'swaggerUi._static_folder at "{ swaggerUi ._static_folder } "' )
7376
Original file line number Diff line number Diff line change 11from distutils .core import setup
22
3- version = '0.0.1-60 '
3+ version = '0.0.1-61 '
44name = 'python_framework'
55url = f'https://github.com/SamuelJansen/{ name } /'
66
You can’t perform that action at this time.
0 commit comments