From c3b5111b964370ad5419216f164484311cb5af53 Mon Sep 17 00:00:00 2001 From: Giacomo De Liberali Date: Sat, 17 Nov 2018 13:02:13 +0100 Subject: [PATCH] Update blueprints.py --- flakon/blueprints.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/flakon/blueprints.py b/flakon/blueprints.py index 8c8f5cb..77840e4 100644 --- a/flakon/blueprints.py +++ b/flakon/blueprints.py @@ -56,9 +56,10 @@ def _get_operations(self): ops = {} for path, spec in self.spec['paths'].items(): for method, options in spec.items(): - options['method'] = method.upper() - options['path'] = path - ops[options['operationId']] = options + if method != "parameters": + options['method'] = method.upper() + options['path'] = path + ops[options['operationId']] = options return ops def operation(self, operation_id, **options):