Rororo

Latest version: v3.2.0

Safety actively analyzes 628924 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 8

2.1.1

==================

**Fixes:**

- (**openapi**) Proper handling of operations with empty security list (115)

**Other:**

- Do not enforce commitizen check at CI (113)

2.1.0

==================

**Features:**

- Ensure Python 3.9 support (109)

**Other:**

- (**deps**) bump attrs from 20.1.0 to 20.2.0 (108)
- (**deps-dev**) bump pytest from 6.0.1 to 6.1.0 (107)
- (**deps-dev**) bump coverage from 5.2.1 to 5.3 (106)
- (**deps**) bump pyrsistent from 0.16.0 to 0.17.3 (105)
- Integrate badabump for release needs (110)

2.0.2

==================

**Features:**

- Require ``attrs>=19.1,<21`` to allow use ``attrs==20.1.0`` in dependent
projects

**Other:**

- Massive infrastrucutre update: move code to ``src/`` directory, use latest
``pytest`` for tests, better ``Makefile`` targets, etc

2.0.1

==================

**Features:**

- Ensure *rororo* to work properly with ``openapi-core==0.13.4``

2.0.0

==================

Final **2.0.0** release, which completes reimplementing *rororo* as library
for implementing aiohttp.web OpenAPI 3 server applications with schema first
approach.

**Quickstart:**

*rororo* relies on valid OpenAPI 3 schema (both JSON & YAML formats supported).
Example below illustrates using ``openapi.yaml`` schema file, stored next to
``app`` module,

.. code-block:: python

from pathlib import Path
from typing import List

from aiohttp import web
from rororo import setup_openapi

from .views import operations


def create_app(argv: List[str] = None) -> web.Application:
return setup_openapi(
web.Application(),
Path(__file__).parent / "openapi.yaml",
operations,
)

Then, you need to *register* operation handlers in ``views`` module. Example
below shows registering handler for *operationId* ``hello_world``,

.. code-block:: python

from aiohttp import web
from rororo import OperationTableDef


operations.register
async def hello_world(request: web.Request) -> web.Response:
return web.json_response({"data": "Hello, world!"})

`Documentation <https://rororo.readthedocs.io/en/latest/openapi.html>`_
provides more information on implementing aiohttp.web OpenAPI 3 server
applications with schema first approach using *rororo*.

2.0.0rc3

---------------------

**Features:**

- Allow passing ``schema`` and ``spec`` keyword args to ``setup_openapi``
(`84 <https://github.com/playpauseandstop/rororo/issues/84>`_)

**Fixes:**

- Handle all errors on creating OpenAPI spec from schema
(`74 <https://github.com/playpauseandstop/rororo/issues/74>`_)
- Allow nullable arrays & objects in request/response data
(`85 <https://github.com/playpauseandstop/rororo/issues/85>`_)

**Other:**

- Cast return values instead of type ignore comments
- Do not include changelog into dist
(`72 <https://github.com/playpauseandstop/rororo/issues/72>`_)
- Update docs with new rororo slogan
(`76 <https://github.com/playpauseandstop/rororo/issues/76>`_)
- Create GitHub release at pushing git tag
(`78 <https://github.com/playpauseandstop/rororo/issues/78>`_)
- Bump pre-commit hooks
- Preserve multiline strings in release body
(`78 <https://github.com/playpauseandstop/rororo/issues/78>`_)

Page 3 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.