Further split API so only Flask can be loaded
This commit is contained in:
parent
d564671e1c
commit
26c2c2c295
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -12,7 +12,7 @@ os.environ['PVC_CONFIG_FILE'] = "./api-daemon/pvcapid.sample.yaml"
|
||||||
|
|
||||||
sys.path.append('api-daemon')
|
sys.path.append('api-daemon')
|
||||||
|
|
||||||
import pvcapid.api as pvc_api
|
import pvcapid.flaskapi as pvc_api
|
||||||
|
|
||||||
swagger_file = "docs/manuals/swagger.json"
|
swagger_file = "docs/manuals/swagger.json"
|
||||||
swagger_data = swagger(pvc_api.app)
|
swagger_data = swagger(pvc_api.app)
|
||||||
|
|
Loading…
Reference in New Issue