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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa1c22a71a73aa5fe2ab447f9a04c9222cd6c612ca3af6d35f187821daf91867 |
|
MD5 | c23d9acce9b506916ce16a32ec37b0df |
|
BLAKE2b-256 | 9eb88e5a362e69c6a29a9847c1c88a4b0bc2efa0b5673d5d35757be4a85f8223 |
Close
Hashes for schematics_to_swagger-1.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec9d0593ba9dd47f2066c4f1e0be6e7bb1d0c3bb1c278ca6d9f32e07790b6cff |
|
MD5 | ddc813e7800afbc1c3263884ea34e4ac |
|
BLAKE2b-256 | 878b89ddc34c07c6e6e02eae3e620349947ff9341e1c3aea89e6368d65ffb4ce |