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.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7bcb16fffaa8c4dbd02fad32b4cae6a397760a4a7aeb3848f091777e713ff76 |
|
MD5 | 765be24874f2452ebf76b78f550d156e |
|
BLAKE2b-256 | 0248f86fdb61c830249927bea925846792600af2b21186924c6bcf4a463c1488 |
Close
Hashes for schematics_to_swagger-1.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbe82d41bf21cb3a489d682efdec0e42c095f59871d8bb15aa5a789b06027d3e |
|
MD5 | 9114ea2217509faa9a18ff15eb5ed880 |
|
BLAKE2b-256 | f2cf7794a76686e99cd409a4d35f7704a33b8bf4eacc2cc059df7ae24b6c8d0a |