diff --git a/packages/spec_templates/lib/method_parameter.dart b/packages/spec_templates/lib/method_parameter.dart index 75859975..1e3e1eae 100644 --- a/packages/spec_templates/lib/method_parameter.dart +++ b/packages/spec_templates/lib/method_parameter.dart @@ -75,6 +75,10 @@ class MethodParameter { if (type == 'array') { return 'array'; } + if (type == 'Chain') { + // Unsupported + return null; + } throw Exception( 'Could not infer OpenAPI type from type "$type" for parameter "$name" of method "$methodName" in controller "$controllerName"',