Skip to content

Commit

Permalink
Fix an incorrectly passed parameter type.
Browse files Browse the repository at this point in the history
  • Loading branch information
sstanovnik committed May 17, 2021
1 parent 066053c commit ba6fdc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openapi-spec.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/opera/api/controllers/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ba6fdc3

Please sign in to comment.