diff --git a/openapi-spec.yml b/openapi-spec.yml index e9facf8..46b19f6 100644 --- a/openapi-spec.yml +++ b/openapi-spec.yml @@ -1,6 +1,6 @@ openapi: "3.0.0" info: - version: 0.4.0 + version: 0.4.2 title: xOpera API license: name: Apache-2.0 diff --git a/src/opera/api/controllers/default.py b/src/opera/api/controllers/default.py index 5eb867d..b880acb 100644 --- a/src/opera/api/controllers/default.py +++ b/src/opera/api/controllers/default.py @@ -83,7 +83,7 @@ def validate(body: DeploymentInput = None): result = ValidationResult() try: - opera_validate(deployment_input.service_template, deployment_input.inputs) + opera_validate(PurePath(deployment_input.service_template), deployment_input.inputs) result.success = True except Exception as e: result.success = False