rororo

Implement aiohttp.web OpenAPI 3 server applications with schema first approach.

BSD-3-CLAUSE License

Downloads
1.1K
Stars
105
Committers
8

Bot releases are hidden (Show)

rororo - 2.0.0rc2 Release

Published by playpauseandstop over 4 years ago

Fix:

  • When possible pass request body as string to OpenAPIRequest, not as bytes

Style:

  • Update pre-commit hooks, integrate flake8-variable-names
rororo - 2.0.0rc1 Release

Published by playpauseandstop over 4 years ago

Performance:

  • Use yaml.CSafeLoader instead of yaml.SafeLoader when possible, allow to
    pass custom schema loader for loading OpenAPI schema from JSON file
  • Use yaml.CSafeDumper instead of yaml.Dumper on dumping OpenAPI Schema in
    YAML format
  • Allow to cache create schema and spec call, which is useful for tests

Docs:

  • Use sphinx-autobuild for building docs at local env
rororo - 2.0.0rc0 Release

Published by playpauseandstop over 4 years ago

Breaking Changes:

  • Use environ-config for settings needs, instead of providing extra sugar to attrs

Features:

  • Upgrade to latest openapi-core==0.13.3
  • Support class based views
  • Deprecate old approach of validating OpenAPI requests via openapi_operation decorator in favor of openapi_middleware. Improvements to error middleware, validate error responses against OpenAPI schema as well
  • Valid request data is freezed with pyrsistent.freeze call. Parameters and security data wrapped into pyrsistent.pmap for immutability needs
  • Use email-validator to support format: "email"
  • Ensure TZ aware date times works as expected
  • Ensure support of optional security schemes

Chores:

  • Provide Todo-Backend example to illustrate how to use class based views

Build, CI & Style updates:

  • Update pre-commit hooks, integrate blacken-docs & commitizen pre-commit hooks
  • Speed up CI exec time, by not waiting on build to start test job
  • Add more badges to README
rororo - 2.0.0b3 Release

Published by playpauseandstop over 4 years ago

  • feature: Provide human readable security, request & response validation errors
  • feature: Support free form objects in request body
  • feature: Allow to enable CORS / error middleware on setting up OpenAPI support for aiohttp.web application
  • feature: Provide BaseSettings and env_factory helpers to work with settings within aiohttp.web applications. Cover how to work with settings at docs as well
  • chore: Stricter mypy config to ensure @operations.register is a typed decorator
rororo - 2.0.0b2 Release

Published by playpauseandstop almost 5 years ago

  • chore: setup_openapi function returns web.Applicaiton instead of None
  • chore: Provide ACCESS_LOG_FORMAT for aiohttp applications
rororo - 2.0.0b1 Release

Published by playpauseandstop almost 5 years ago

  • fix: Fix type annotation for add_resource_context context manager
rororo - 2.0.0b0 Release

Published by playpauseandstop almost 5 years ago

  • feature: Ensure Python 3.8 support, move 2.0.0 release into beta phase
rororo - 2.0.0a4 Release

Published by playpauseandstop almost 5 years ago

  • feature: Parse API Key & HTTP security data for OpenAPI operation
  • chore: Cover rororo.openapi with non-machine docs
  • chore: Provide another example on using OpenAPI schema inside aiohttp web application
  • feature: Allow to remove root handlers on setting up logging config
rororo - 2.0.0a3 Release

Published by playpauseandstop about 5 years ago

  • feature: Support type: array request bodies as well
  • feature: Allow to validate response data against OpenAPI schema as well
  • chore: Do not directlry depend on jsonschema
rororo - 2.0.0a2 Release

Published by playpauseandstop about 5 years ago

  • fix: Depend on aiohttp>=3.5,<4.0
rororo - 2.0.0a1 Release

Published by playpauseandstop about 5 years ago

  • feature: Add rororo.get_openapi_context shortcut
  • chore: Update API docs for rororo.openapi public functions & classes
rororo - 2.0.0a0 Release

Published by playpauseandstop about 5 years ago

Rebuild rororo library to add support of OpenAPI 3 schemas
for aiohttp.web applications.

rororo - 1.2.1 Release

Published by playpauseandstop about 5 years ago

  • Do not yet depend on jsonschema>=3.0.0
  • Bunch of chores
rororo - 1.2.1a1 Release

Published by playpauseandstop about 5 years ago

  • chore: Use pytest for tests
  • chore: Better Circle CI config
  • chore: Integrate pre-commit hooks
rororo - 1.2.1a0 Release

Published by playpauseandstop over 5 years ago

  • fix #11: Do not depend on jsonschema>=3.0.0
  • chore: Move tox.ini content to pyproject.toml
  • chore: Install deps for tests & lint via poetry
rororo - 1.2.0 Release

Published by playpauseandstop almost 6 years ago

  • Ensure Python 3.7 support
  • Ensure support of latest aiohttp release
  • Switch to poetry for dependencies management
  • Add new rororo.timedelta module
  • Move type annotations to rororo.annotations module
  • Mark rororo & rororo.schemas as typed packages, see PEP-561 for more details
rororo - 1.2.0a1 Release

Published by playpauseandstop almost 6 years ago

  • Make all project packages PEP-561 compatible
rororo - 1.2.0a0 Release

Published by playpauseandstop almost 6 years ago

  • Ensure Python 3.7 support
  • Ensure support latest aiohttp version
  • Pass level on setting up logging dict to use Sentry handler
  • Add rororo.timedelta module
  • Add rororo.utils module
  • Move type annotations to rororo.annotations module
rororo - 1.1.1 Release

Published by playpauseandstop about 7 years ago

  • More fixes to using non-dicts in request/response data
rororo - 1.1.0 Release

Published by playpauseandstop about 7 years ago

  • Allow to use any data in schema request/response, not only dicts
Package Rankings
Top 10.81% on Pypi.org
Related Projects