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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cb1c4eb6349e83e2086e9932ec10efec4e371a537b815914bd290d391bf9887 |
|
MD5 | e9329397e606e4cb565d6f2a219ce962 |
|
BLAKE2b-256 | 66f3b4603e13529ddc6e546d5d15b47d6401b8049c6d1813719f5424c57b4ef2 |
Close
Hashes for schematics_to_swagger-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59f2ca22e87f897cf8b06bd82813796a0ef311ca8aa222f132113b156304b56e |
|
MD5 | 06f12c4e79b6ac06fbeae1f347b91db5 |
|
BLAKE2b-256 | a78e85ec4b89990456ec7a48517e302f7854b6d71619d9f9b57f905e4d61932a |