Skip to content

Commit

Permalink
chore: Make another alpha release.
Browse files Browse the repository at this point in the history
  • Loading branch information
playpauseandstop committed Oct 9, 2019
1 parent 9924b72 commit f8f5c31
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
2.0.0 (In Development)
----------------------

2.0.0a3 (In Development)
2.0.0a3 (2019-10-09)
------------------------

- feature: Support `type: array` request bodies as well
- feature: Allow to validate responses against OpenAPI schema
- chore: Do not directly depend on ``jsonschema``

2.0.0a2 (2019-10-08)
--------------------
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ Important

.. code-block:: bash
pip install rororo>=2.0.0a2
pip install rororo>=2.0.0a3
or,

.. code-block:: bash
poetry add rororo^=2.0.0a2
poetry add rororo^=2.0.0a3
Quick Start
===========
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
'name': 'rororo',
'version': '2.0.0a3',
'description': 'OpenAPI 3 schema support for aiohttp.web applications.',
'long_description': '======\nrororo\n======\n\n.. image:: https://img.shields.io/circleci/project/github/playpauseandstop/rororo/feature-openapi.svg\n :target: https://circleci.com/gh/playpauseandstop/rororo\n :alt: CircleCI\n\n.. image:: https://img.shields.io/pypi/v/rororo.svg\n :target: https://pypi.org/project/rororo/\n :alt: Latest Version\n\n.. image:: https://img.shields.io/pypi/pyversions/rororo.svg\n :target: https://pypi.org/project/rororo/\n :alt: Python versions\n\n.. image:: https://img.shields.io/pypi/l/rororo.svg\n :target: https://github.com/playpauseandstop/rororo/blob/master/LICENSE\n :alt: BSD License\n\n.. image:: https://coveralls.io/repos/playpauseandstop/rororo/badge.svg?branch=feature-openapi&service=github\n :target: https://coveralls.io/github/playpauseandstop/rororo\n :alt: Coverage\n\n.. image:: https://readthedocs.org/projects/rororo/badge/?version=latest\n :target: https://rororo.readthedocs.io/\n :alt: Documentation\n\n`OpenAPI 3 <https://spec.openapis.org/oas/v3.0.2>`_ schema support\nfor `aiohttp.web <https://aiohttp.readthedocs.io/en/stable/web.html>`_\napplications.\n\nAs well as bunch other utilities to build effective web applications with\nPython 3 & ``aiohttp.web``.\n\n* Works on Python 3.6+\n* BSD licensed\n* Source, issues, and pull requests `on GitHub\n <https://github.com/playpauseandstop/rororo>`_\n\nImportant\n=========\n\n**2.0.0** version still in development. To install it use,\n\n.. code-block:: bash\n\n pip install rororo>=2.0.0a2\n\nor,\n\n.. code-block:: bash\n\n poetry add rororo^=2.0.0a2\n\nQuick Start\n===========\n\n``rororo`` relies on valid OpenAPI schema file (both JSON or YAML formats\nsupported).\n\nExample below, illustrates on how to handle operation ``hello_world`` from\n`openapi.yaml <https://github.com/playpauseandstop/rororo/blob/feature-openapi/tests/openapi.yaml>`_\nschema file.\n\n.. code-block:: python\n\n from pathlib import Path\n from typing import List\n\n from aiohttp import web\n from rororo import openapi_context, OperationTableDef, setup_openapi\n\n\n operations = OperationTableDef()\n\n\n @operations.register\n async def hello_world(request: web.Request) -> web.Response:\n with openapi_context(request) as context:\n name = context.parameters.query.get("name", "world")\n return web.json_response({"message": f"Hello, {name}!"})\n\n\n def create_app(argv: List[str] = None) -> web.Application:\n app = web.Application()\n setup_openapi(\n app,\n Path(__file__).parent / "openapi.yaml",\n operations,\n route_prefix="/api"\n )\n return app\n\nCheck\n`examples <https://github.com/playpauseandstop/rororo/tree/feature-openapi/examples>`_\nfolder to see other examples on how to use OpenAPI 3 schemas with aiohttp.web\napplications.\n',
'long_description': '======\nrororo\n======\n\n.. image:: https://img.shields.io/circleci/project/github/playpauseandstop/rororo/feature-openapi.svg\n :target: https://circleci.com/gh/playpauseandstop/rororo\n :alt: CircleCI\n\n.. image:: https://img.shields.io/pypi/v/rororo.svg\n :target: https://pypi.org/project/rororo/\n :alt: Latest Version\n\n.. image:: https://img.shields.io/pypi/pyversions/rororo.svg\n :target: https://pypi.org/project/rororo/\n :alt: Python versions\n\n.. image:: https://img.shields.io/pypi/l/rororo.svg\n :target: https://github.com/playpauseandstop/rororo/blob/master/LICENSE\n :alt: BSD License\n\n.. image:: https://coveralls.io/repos/playpauseandstop/rororo/badge.svg?branch=feature-openapi&service=github\n :target: https://coveralls.io/github/playpauseandstop/rororo\n :alt: Coverage\n\n.. image:: https://readthedocs.org/projects/rororo/badge/?version=latest\n :target: https://rororo.readthedocs.io/\n :alt: Documentation\n\n`OpenAPI 3 <https://spec.openapis.org/oas/v3.0.2>`_ schema support\nfor `aiohttp.web <https://aiohttp.readthedocs.io/en/stable/web.html>`_\napplications.\n\nAs well as bunch other utilities to build effective web applications with\nPython 3 & ``aiohttp.web``.\n\n* Works on Python 3.6+\n* BSD licensed\n* Source, issues, and pull requests `on GitHub\n <https://github.com/playpauseandstop/rororo>`_\n\nImportant\n=========\n\n**2.0.0** version still in development. To install it use,\n\n.. code-block:: bash\n\n pip install rororo>=2.0.0a3\n\nor,\n\n.. code-block:: bash\n\n poetry add rororo^=2.0.0a3\n\nQuick Start\n===========\n\n``rororo`` relies on valid OpenAPI schema file (both JSON or YAML formats\nsupported).\n\nExample below, illustrates on how to handle operation ``hello_world`` from\n`openapi.yaml <https://github.com/playpauseandstop/rororo/blob/feature-openapi/tests/openapi.yaml>`_\nschema file.\n\n.. code-block:: python\n\n from pathlib import Path\n from typing import List\n\n from aiohttp import web\n from rororo import openapi_context, OperationTableDef, setup_openapi\n\n\n operations = OperationTableDef()\n\n\n @operations.register\n async def hello_world(request: web.Request) -> web.Response:\n with openapi_context(request) as context:\n name = context.parameters.query.get("name", "world")\n return web.json_response({"message": f"Hello, {name}!"})\n\n\n def create_app(argv: List[str] = None) -> web.Application:\n app = web.Application()\n setup_openapi(\n app,\n Path(__file__).parent / "openapi.yaml",\n operations,\n route_prefix="/api"\n )\n return app\n\nCheck\n`examples <https://github.com/playpauseandstop/rororo/tree/feature-openapi/examples>`_\nfolder to see other examples on how to use OpenAPI 3 schemas with aiohttp.web\napplications.\n',
'author': 'Igor Davydenko',
'author_email': '[email protected]',
'url': 'https://igordavydenko.com/projects.html#rororo',
Expand Down

0 comments on commit f8f5c31

Please sign in to comment.