Skip to content

Commit

Permalink
Remove note about old decorators
Browse files Browse the repository at this point in the history
  • Loading branch information
maximdanilchenko committed Mar 7, 2019
1 parent 9ec3b8a commit 60ced97
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@
<p>

```aiohttp-apispec``` key features:
- ```docs```, ```request_schema``` and ```response_schema``` decorators
to add swagger spec support out of the box. *If you have < 1.0.0 version you should use
```use_kwags``` and ```marshal_with``` decorators
instead of ```request_schema``` and ```response_schema``` respectively.*
- ```docs``` and ```request_schema``` decorators
to add swagger spec support out of the box;
- ```validation_middleware``` middleware to enable validating
with marshmallow schemas from those decorators
- **SwaggerUI** support
with marshmallow schemas from those decorators;
- **SwaggerUI** support.

```aiohttp-apispec``` api is fully inspired by ```flask-apispec``` library

Expand Down
6 changes: 3 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ Build and document REST APIs with aiohttp and apispec

``aiohttp-apispec`` key features:

- ``docs``, ``request_schema`` and ``response_schema`` decorators to add swagger spec support out of the box. If you have < 1.0.0 version you should use ``use_kwags`` and ``marshal_with`` decorators instead of ``request_schema`` and ``response_schema`` respectively.
- ``docs``, ``request_schema`` and ``response_schema`` decorators to add swagger spec support out of the box;

- ``validation_middleware`` middleware to enable validating with marshmallow schemas from those decorators
- ``validation_middleware`` middleware to enable validating with marshmallow schemas from those decorators;

- **SwaggerUI** support
- **SwaggerUI** support.

``aiohttp-apispec`` api is fully inspired by ``flask-apispec`` library

Expand Down

0 comments on commit 60ced97

Please sign in to comment.