Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGES/11347.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Remove outdated contents of ``aiohttp-devtools`` and ``aiohttp-swagger``
from Web_advanced docs.
-- by :user:`Cycloctane`
15 changes: 3 additions & 12 deletions docs/web_advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1268,20 +1268,13 @@ the middleware might use :meth:`BaseRequest.clone`.
for modifying *scheme*, *host* and *remote* attributes according
to ``Forwarded`` and ``X-Forwarded-*`` HTTP headers.

Swagger support
---------------

`aiohttp-swagger <https://github.com/cr0hn/aiohttp-swagger>`_ is a
library that allow to add Swagger documentation and embed the
Swagger-UI into your :mod:`aiohttp.web` project.

CORS support
------------

:mod:`aiohttp.web` itself does not support `Cross-Origin Resource
Sharing <https://en.wikipedia.org/wiki/Cross-origin_resource_sharing>`_, but
there is an aiohttp plugin for it:
`aiohttp_cors <https://github.com/aio-libs/aiohttp_cors>`_.
`aiohttp-cors <https://github.com/aio-libs/aiohttp-cors>`_.


Debug Toolbar
Expand Down Expand Up @@ -1324,10 +1317,8 @@ Install with ``pip``:

$ pip install aiohttp-devtools

* ``runserver`` provides a development server with auto-reload,
live-reload, static file serving.
* ``start`` is a `cookiecutter command which does the donkey work
of creating new :mod:`aiohttp.web` Applications.
``adev runserver`` provides a development server with auto-reload,
live-reload, static file serving.

Documentation and a complete tutorial of creating and running an app
locally are available at `aiohttp-devtools`_.
Expand Down
Loading