Skip to content

Commit

Permalink
Fix params in shcema docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
tedzhu committed Dec 4, 2018
1 parent a8f3582 commit 4fbc00f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flask_restplus/schemas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class LazySchema(Mapping):
'''
A thin wrapper around schema file lazy loading the data on first access
:param filename str: The package relative json schema filename
:param str filename: The package relative json schema filename
:param validator: The jsonschema validator class version
.. versionadded:: 0.12.1
Expand Down Expand Up @@ -95,7 +95,7 @@ def validate(data):
Supported OpenAPI versions: 2.0
:param data dict: The specification to validate
:param dict data: The specification to validate
:returns boolean: True if the specification is valid
:raises SchemaValidationError: when the specification is invalid
:raises flask_restplus.errors.SpecsError: when it's not possible to determinate
Expand Down

0 comments on commit 4fbc00f

Please sign in to comment.