show warning when example is missing

This commit is contained in:
donnd-t 2021-09-17 18:48:56 +10:00
parent f031e00970
commit 65187decac

View File

@ -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: