From a2860beb68d7376273a1c1416a8c9e8a1a0350dc Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Wed, 19 Apr 2017 16:50:58 +0100 Subject: [PATCH] Add comment to swagger parsing thing --- templating/matrix_templates/units.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templating/matrix_templates/units.py b/templating/matrix_templates/units.py index 051b38d7..6d340b13 100644 --- a/templating/matrix_templates/units.py +++ b/templating/matrix_templates/units.py @@ -359,6 +359,9 @@ def get_example_for_response(response): # be formatted as raw objects rather than json-formatted strings, but we # have lots of the latter in our spec, which work with the swagger UI, # so grandfather them in. + # + # FIXME: swagger-ui no longer supports this. We should fix the inputs + # and remove the grandfathering. if isinstance(exampleobj, basestring): return exampleobj