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
File details
Details for the file schematics-to-swagger-1.4.7.tar.gz
.
File metadata
- Download URL: schematics-to-swagger-1.4.7.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
26108ae5fb8fc3dbe5e43262873a7462bb6ac40640475ab38ed9d3d3acad4b16
|
|
MD5 |
f114675c16606fb74ef7e33b2b7fb462
|
|
BLAKE2b-256 |
f7b4a5c7991fc297cd57c0919162ef67190780e77324dcfa618640fd93e23b3c
|
File details
Details for the file schematics_to_swagger-1.4.7-py3-none-any.whl
.
File metadata
- Download URL: schematics_to_swagger-1.4.7-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
32b071a2f964fb4761b277a2faaec3c1d9bdeee67669c3c789e853e16c81e1f6
|
|
MD5 |
d5a61183b55210bbbeec872d37298650
|
|
BLAKE2b-256 |
170c3d2334ba3a15aabd9c05965fd855b4b58700e8cd27f69ec4f524e187a247
|