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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 848ef476437924c9c72df8ba5ebd49eaaf5ce88ce86e8424fe3efdef9a1bcca3 |
|
MD5 | 2a9fc037ab45315b516ae68dc83afb89 |
|
BLAKE2b-256 | bf88af6fb99b7ab8a6b9c173131570418ea4f1f826abbdfc6e2d1e721b5329f4 |
Close
Hashes for schematics_to_swagger-1.4.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d8d2440128192539dd94a715dc3cdf459f06c8215ea7e1ff95cabafe3bbb0a1 |
|
MD5 | 8f8fa23cb18d2c03d9798d00be1e0f59 |
|
BLAKE2b-256 | e16bdbaeeb714f42aa2016d2c0fe27001c59ef0bb96181da0149a7b567cb6893 |