Added specific API schema example plugin
This commit is contained in:
parent
559fe6c2fe
commit
8a5c749d47
8 changed files with 166 additions and 15 deletions
|
|
@ -44,7 +44,7 @@ class JsonPayload:
|
|||
else:
|
||||
val = default
|
||||
|
||||
if convert:
|
||||
if convert and (val is not None):
|
||||
val = convert(val)
|
||||
return val
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue