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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26108ae5fb8fc3dbe5e43262873a7462bb6ac40640475ab38ed9d3d3acad4b16 |
|
MD5 | f114675c16606fb74ef7e33b2b7fb462 |
|
BLAKE2b-256 | f7b4a5c7991fc297cd57c0919162ef67190780e77324dcfa618640fd93e23b3c |
Close
Hashes for schematics_to_swagger-1.4.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32b071a2f964fb4761b277a2faaec3c1d9bdeee67669c3c789e853e16c81e1f6 |
|
MD5 | d5a61183b55210bbbeec872d37298650 |
|
BLAKE2b-256 | 170c3d2334ba3a15aabd9c05965fd855b4b58700e8cd27f69ec4f524e187a247 |