Skip to content
Prev Previous commit
Next Next commit
show warning when example is missing
  • Loading branch information
donnd-t committed Sep 17, 2021
commit 65187decac6aaf2d246be678b3ca8b9e238fb3d9
3 changes: 3 additions & 0 deletions lib/core/swagger.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down