Skip to content

Commit

Permalink
Fix two small typos (#154)
Browse files Browse the repository at this point in the history
* Fix typo

* Update restful.py
  • Loading branch information
pwellner authored and rochacbruno committed Sep 28, 2017
1 parent 49f71a2 commit 78845ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Flasgger also comes with **[SwaggerUI](http://swagger.io/swagger-ui/) embedded**

Flasgger also **provides validation** of the incoming data, using the same specification it can validates if the data received as as a POST, PUT, PATCH is valid against the schema defined using **YAML**, **Python dictionaries** or **Marshmallow Schemas**.

Flasgger can work with simple function views or MethodViews using docstring for especification, or using `@swag_from` decorator to get specification from **YAML** or **dict** and also provides **SwaggerView** which can use **Marshmallow Schemas** as specification.
Flasgger can work with simple function views or MethodViews using docstring as specification, or using `@swag_from` decorator to get specification from **YAML** or **dict** and also provides **SwaggerView** which can use **Marshmallow Schemas** as specification.

Flasgger is compatible with `Flask-RESTful` so you can use `Resources` and `swag` specifications together, take a look at [restful example.](examples/restful.py)

Expand Down
2 changes: 1 addition & 1 deletion examples/restful.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Example if Flask RESTFul integration.
Example of Flask RESTFul integration.
requires: `pip install flask-restful`
"""
from flask import Flask
Expand Down

0 comments on commit 78845ce

Please sign in to comment.