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.2.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 939677317a5e0889e1150cc298fb9d9d8aef9b52c9c014607dd563787b8bf981 |
|
MD5 | 6c1509ec45b6753466f272d4e75f4805 |
|
BLAKE2b-256 | 64bdca7dbf795a1cbf812338bbdef3b9bc2a42d25ec42b0e16f816ac8ca4b14b |
Close
Hashes for schematics_to_swagger-1.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b4cdfa66e8444521b7dc49eaf14ba4a550049bab473decbd3d766250ade78b5 |
|
MD5 | 03f2570124fead86d57bbc4b83548f4b |
|
BLAKE2b-256 | bcf2a06f4d849e96f493bd1c0e318db38fa4db4c6160882804d5e9eb1a28b5b1 |