Helper library to build Swagger Schema objects from Schematics models
Project description
Usecase
- I have a REST API built using aiohttp and schematics.
- I want to provide Swagger spec for it and I use aiohttp-swagger.
- I'm too lazy to describe models for swagger docs so I want to build this information automatically
Usage
import schematics_to_swagger
from your_package import models
definitions = schematics_to_swagger.read_models_from_module(models)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for schematics-to-swagger-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d4fd695d1562803304dc3eb72159d750f4461b6342ae6fc9ae8c5ed31457dcf |
|
MD5 | 31aa1e992d40730b7ef4611121383a2b |
|
BLAKE2b-256 | 9da2dd33592c8f34278cb4d210dc68809263fb0719ebba8746f42465e3b5bb5f |
Close
Hashes for schematics_to_swagger-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 679ee1e05e00c334b90a39c135d3e357224a24d7ef3239ffa21a283ced93183b |
|
MD5 | 397cf64231cd5f6fb0e4ad29e424f4cb |
|
BLAKE2b-256 | a0d774e260d982b5dc1da9a1bb7f8383d432c36dade24b8b3a5718b06b480bb4 |