Skip to content

aleufroy/aiohttp_apiset

 
 

Repository files navigation

aiohttp_apiset

image

image

image

Documentation Status

Package to build routes and validate request using swagger specification.

Features

  • Building of the routing from specification swagger
  • Using inclusions other specifications with concatenate url
  • Optional output of the resulting specification and view embed swagger-ui
  • Advanced router with TreeResource
  • Extract specify parameters from request and validate with jsonschema
  • Serialize data as response with middleware

Usecase

Package aiohttp_apiset allows supports several strategies:

  • The foreign specification. When the specification is made and maintained by another team.
  • The specification in the code. When the fragments of specification are placed in the docstrings.
  • Mixed strategy. When routing are located in the specification files and operations are described in the docstrings.

Examples: examples

About

Package to build routes using swagger specification

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%