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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ce9c3fb0aead1f0b0de75f6511a0b8a5be1184c2d984f381a507fa33c2bc9ec |
|
MD5 | 146e7da8a50d72535d6459f5698519f6 |
|
BLAKE2b-256 | 600f0215f104df4b96e9f6785e8e06a8e8c469e85f2051fe6af1caaaed570286 |
Close
Hashes for schematics_to_swagger-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 715a4d1fd87fddd84e0b9985a8c073f69cf223d2d7f319e79bbf9fcdf457e804 |
|
MD5 | fb0582f6cbbfbb1aa5b65648fa76723a |
|
BLAKE2b-256 | 821f6593298a4e3c1c2c7c77ca241e54b7ee1dc4f3a7e632f2f52b6adeccb951 |