From 9a63cdece20661b9341a643bf7e90863018152ef Mon Sep 17 00:00:00 2001 From: Sebastian Ulrich Date: Wed, 13 Dec 2023 11:49:32 +0100 Subject: [PATCH] changed parameter descriptio from aas to aasx --- server/server.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/server.py b/server/server.py index 299448e..f83367d 100644 --- a/server/server.py +++ b/server/server.py @@ -162,7 +162,7 @@ def check_capabilities_complex(): tags: - Capability Matching parameters: - - name: aasx + - name: aas in: formData type: file required: true @@ -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: