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.2.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

schematics_to_swagger-1.2.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file schematics-to-swagger-1.2.0.tar.gz.

File metadata

  • Download URL: schematics-to-swagger-1.2.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7

File hashes

Hashes for schematics-to-swagger-1.2.0.tar.gz
Algorithm Hash digest
SHA256 4cb1c4eb6349e83e2086e9932ec10efec4e371a537b815914bd290d391bf9887
MD5 e9329397e606e4cb565d6f2a219ce962
BLAKE2b-256 66f3b4603e13529ddc6e546d5d15b47d6401b8049c6d1813719f5424c57b4ef2

See more details on using hashes here.

File details

Details for the file schematics_to_swagger-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: schematics_to_swagger-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7

File hashes

Hashes for schematics_to_swagger-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 59f2ca22e87f897cf8b06bd82813796a0ef311ca8aa222f132113b156304b56e
MD5 06f12c4e79b6ac06fbeae1f347b91db5
BLAKE2b-256 a78e85ec4b89990456ec7a48517e302f7854b6d71619d9f9b57f905e4d61932a

See more details on using hashes here.

Supported by

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