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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2aa12c351b2a6ce5eeca0d7ac32903b03d05471b2c2023796a073b6e9e63c2b7 |
|
MD5 | ef0b4b9888b83db452ba7eff7dcbf983 |
|
BLAKE2b-256 | a6381c88291b6c8576fa8e0d9fb39807e113ba9cf8bbe1c63baa8ee6198cf6d3 |
Close
Hashes for schematics_to_swagger-1.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbac849942cc440b8e1fe4b845a7d130195ff447b227e9f96c21238b5aaeea03 |
|
MD5 | a7e90aff54d13a15f98e9718db9afcd6 |
|
BLAKE2b-256 | b3b67d0a6ed7696578633b03cbad95d5752692553d8e3b1365ae94dd268cd12b |