Skip to content

Commit

Permalink
register wildcard fields in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vdwees committed Jan 30, 2020
1 parent c9f90a4 commit 5102e63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_restx/swagger.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ def register_field(self, field):
self.register_model(model)
elif isinstance(field, fields.Nested):
self.register_model(field.nested)
elif isinstance(field, fields.List):
elif isinstance(field, (fields.List, fields.Wildcard)):
self.register_field(field.container)

def security_for(self, doc, method):
Expand Down

0 comments on commit 5102e63

Please sign in to comment.