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.4.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa10c32d53ece923e61949d57c14b309c255ffa6ca4407648e081a0aacbbcfce |
|
MD5 | f9efbe30b5869458f7fe80ad410c4572 |
|
BLAKE2b-256 | 1ebdd9176b884bfcb7127bcc8120192bbacb0746bbdf4431ab293b549a009ff6 |
Close
Hashes for schematics_to_swagger-1.4.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88c256f554aa242915f1d31f45686041f5356c510da6e00e27319fcbb80da415 |
|
MD5 | b6a43ed97a3cb9a0bd8238ed9259c16a |
|
BLAKE2b-256 | 9e182c0ab656907e0037dc593c25be38ad663a8721386ef860368db7aef45fba |