From 65187decac6aaf2d246be678b3ca8b9e238fb3d9 Mon Sep 17 00:00:00 2001 From: donnd-t Date: Fri, 17 Sep 2021 18:48:56 +1000 Subject: [PATCH] show warning when example is missing --- lib/core/swagger.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/core/swagger.py b/lib/core/swagger.py index e573c2ea9..ec8013345 100644 --- a/lib/core/swagger.py +++ b/lib/core/swagger.py @@ -88,6 +88,9 @@ def _example(swagger, refPath): def parse(content, tags): """ Parses Swagger OpenAPI 3.x.x JSON documents + + Target injectable parameter values are generated from the "example" properties. + Only property-level "example" is supported. The "examples" property is not supported. """ try: