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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0210d96fc966aad78cadaadc037d0c3f3ffe4457dce48f6c6bbfc69b22e6cb36 |
|
MD5 | 4fd683dd6cc5544324c12cbc2a60a891 |
|
BLAKE2b-256 | ba5fd22a1974e5a7902a8137fd1ce06c582dee37092a9468b57e421e6e881368 |
Close
Hashes for schematics_to_swagger-1.4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebd05392fc90eea2cb49520c4bd78fd3ffea5dca06cb541aa916f21ed26fa88d |
|
MD5 | d4d2d937be4aa68c78965e97da5d71e5 |
|
BLAKE2b-256 | 25617f12550ecd1779a4848ed7a8fb7841e8d4c1e96a9cfeb718b781651f3168 |