Skip to content

Commit

Permalink
changed parameter descriptio from aas to aasx
Browse files Browse the repository at this point in the history
  • Loading branch information
ReggaeUlli committed Dec 13, 2023
1 parent cafe8a6 commit 9a63cde
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def check_capabilities_complex():
tags:
- Capability Matching
parameters:
- name: aasx
- name: aas
in: formData
type: file
required: true
Expand All @@ -188,11 +188,11 @@ def check_capabilities_complex():
recipe_capabilities = get_all_recipe_capabilities(recipe_content)
unique_recipe_capabilities = set(item['IRI'] for item in recipe_capabilities)

if 'aasx' not in request.files:
if 'aas' not in request.files:
print("no file given")
flash('No file part')
return make_response(request.url, 400)
aasx_zip = request.files['aasx']
aasx_zip = request.files['aas']
aasx_files = extract_zip(aasx_zip)
for element in unique_recipe_capabilities:
for filename in aasx_files:
Expand Down

0 comments on commit 9a63cde

Please sign in to comment.