Skip to main content

Helper library to build Swagger Schema objects from Schematics models

Project description

Build Status

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

schematics-to-swagger-1.4.7.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

schematics_to_swagger-1.4.7-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page